Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.
preferences
macOS defaults and managed preferences.
Column | Type | Description |
---|---|---|
domain | text | Application ID usually in com.name.product format |
forced | integer | 1 if the value is forced/managed, else 0 |
host | text | 'current' or 'any' host, where 'current' takes precedence |
key | text | Preference top-level key |
subkey | text | Intemediate key path, includes lists/dicts |
username | text | (optional) read preferences for a specific user |
value | text | String value of most CF types |
This table reads a huge amount of preferences, including on third-party apps.
SELECT * FROM users CROSS JOIN preferences USING (username);
Querying this table requires joining against the users
table. Learn more
The value
column will be empty for keys that contain binary data.