fleet/schema/tables/system_state.yml
Eric 1f1f0ce4d0
Update Fleet schema overrides (string » text) & regenerate osquery_fleet_schema.json (#17884)
Changes:
- Updated the type of all override columns with `type:string` to
`type:text`
- Regenerated `osquery_fleet_schema.json`
2024-03-27 08:17:28 -05:00

21 lines
699 B
YAML

name: system_state
platforms:
- chrome
description: Returns "locked" if the system is locked, "idle" if the user has not generated any input for a specified number of seconds, or "active" otherwise. Idle time is set to 20% of the user's autolock time or defaults to 30 seconds if autolock is not set.
examples: >-
Returns "locked", "idle", or "active".
```
SELECT idle_state FROM system_state;
```
columns:
- name: idle_state
type: text
description: Returns "locked", "idle", or "active".
required: false
evented: false
notes: >-
- This table is not a core osquery table. This table requires the [fleetd Chrome extension](https://fleetdm.com/docs/using-fleet/chromeos).