Title
#general
f

fritz

12/11/2020, 2:19 PM
@Artem This data is not available via the core osquery project but the information can be obtained via an extension, for example if you are using Kolide's launcher extension you can query the
kolide_gsettings
table and look for the values associated with the following keys:
'ubuntu-lock-on-suspend'
'lock-enabled'
'lock-delay'
'idle-delay'
One thing to keep in mind on Linux is you will need to consider not only the distribution (eg. ubuntu) but also the primary window manager (eg. gnome). If someone is not running Gnome, the keys listed above will not be representative of the effective configuration on the device.
a

Artem

12/11/2020, 3:19 PM
@fritz thank you for answer! We are testing launcher now, so we will pay special attention to it. Did I understand correctly that at the moment we can get such information in Ubuntu only in the Gnome desktop environment? But what about other Linux distributions? Centos? Native debian?
f

fritz

12/11/2020, 3:21 PM
If users of those other distributions have configured gnome as their primary desktop manager then you should be able to query that info using the aforementioned table.
a

Artem

12/11/2020, 4:58 PM
@fritz thanks again for the clarification! Got you!