mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Add count-apple-applications to query handbook (#653)
- Add "Count apple applications" to query handbook - Add supported platforms to query index in `/handbook/queries` README
This commit is contained in:
parent
1e78c0ffe2
commit
871ba3940d
4 changed files with 41 additions and 19 deletions
|
|
@ -4,23 +4,24 @@ Fleet's standard query library includes a growing collection of useful queries f
|
|||
|
||||
### Queries
|
||||
|
||||
- [Detect machines with gatekeeper disabled](./detect-machines-with-gatekeeper-disabled.md)
|
||||
- [Detect presence of authorized SSH keys](./detect-presence-of-authorized-ssh-keys.md)
|
||||
- [Detect hosts with the firewall disabled](./detect-hosts-with-the-firewall-disabled.md)
|
||||
- [Get installed Chrome extensions](./get-installed-chrome-extensions.md)
|
||||
- [Get installed FreeBSD software](./get-installed-freebsd-software.md)
|
||||
- [Get installed Homebrew packages](./get-installed-homebrew-packages.md)
|
||||
- [Get installed Linux software](./get-installed-linux-software.md)
|
||||
- [Get installed macOS software](./get-installed-macos-software.md)
|
||||
- [Get installed Safari extensions](./get-installed-safari-extensions.md)
|
||||
- [Get installed Windows software](./get-installed-windows-software.md)
|
||||
- [Get laptops with failing batteries](./get-laptops-with-failing-batteries.md)
|
||||
- [Get macOS disk free space percentage](./get-macos-disk-free-space-percentage.md)
|
||||
- [Get System Logins and Logouts](./get-system-logins-and-logouts.md)
|
||||
- [Get wifi status](./get-wifi-status.md)
|
||||
- [Get Windows machines with unencrypted hard disks](./get-windows-machines-with-unencrypted-hard-disks.md)
|
||||
- [Get platform info](./get-platform-info.md)
|
||||
- [Get USB devices](./get-usb-devices.md)
|
||||
- [Detect machines with gatekeeper disabled](./detect-machines-with-gatekeeper-disabled.md)(macOS)
|
||||
- [Detect presence of authorized SSH keys](./detect-presence-of-authorized-ssh-keys.md)(macOS, Linux)
|
||||
- [Detect hosts with the firewall disabled](./detect-hosts-with-the-firewall-disabled.md)(macOS)
|
||||
- [Get installed Chrome extensions](./get-installed-chrome-extensions.md)(macOS, Linux, Windows, FreeBSD)
|
||||
- [Get installed FreeBSD software](./get-installed-freebsd-software.md)(FreeBSD)
|
||||
- [Get installed Homebrew packages](./get-installed-homebrew-packages.md)(macOS)
|
||||
- [Get installed Linux software](./get-installed-linux-software.md)(Linux)
|
||||
- [Get installed macOS software](./get-installed-macos-software.md)(macOS)
|
||||
- [Get installed Safari extensions](./get-installed-safari-extensions.md)(macOS)
|
||||
- [Get installed Windows software](./get-installed-windows-software.md)(Windows)
|
||||
- [Get laptops with failing batteries](./get-laptops-with-failing-batteries.md)(macOS)
|
||||
- [Get macOS disk free space percentage](./get-macos-disk-free-space-percentage.md)(macOS)
|
||||
- [Get System Logins and Logouts](./get-system-logins-and-logouts.md)(macOS)
|
||||
- [Get wifi status](./get-wifi-status.md)(macOS)
|
||||
- [Get Windows machines with unencrypted hard disks](./get-windows-machines-with-unencrypted-hard-disks.md)(Windows)
|
||||
- [Get platform info](./get-platform-info.md)(macOS)
|
||||
- [Get USB devices](./get-usb-devices.md)(macOS, Linux)
|
||||
- [Count Apple applications installed](./get-usb-devices.md)(macOS)
|
||||
|
||||
### Contributors
|
||||
|
||||
|
|
|
|||
21
handbook/queries/count-apple-applications-installed.md
Normal file
21
handbook/queries/count-apple-applications-installed.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Count Apple applications installed
|
||||
|
||||
Count the number of Apple applications installed on the machine.
|
||||
|
||||
### Support
|
||||
macOS
|
||||
|
||||
### Query
|
||||
```sql
|
||||
SELECT
|
||||
COUNT(*)
|
||||
FROM
|
||||
apps
|
||||
WHERE
|
||||
bundle_identifier LIKE 'com.apple.%';
|
||||
```
|
||||
### Purpose
|
||||
Informational
|
||||
|
||||
### Remediation
|
||||
N/A
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
List installed Chrome Extensions for all users.
|
||||
|
||||
### Support
|
||||
macOS
|
||||
macOS, Linux, Windows, FreeBSD
|
||||
|
||||
### Query
|
||||
```sql
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Shows all USB devices that are actively plugged into the host system.
|
||||
|
||||
### Support
|
||||
macOS
|
||||
macOS, Linux
|
||||
|
||||
### Query
|
||||
```sql
|
||||
|
|
|
|||
Loading…
Reference in a new issue