mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fix linting issue (#6178)
* Fix linting issue Removing a query that eslint is complaining about. Will fix next week - wether by adding ignore rules or figuring out a way to escape the tons of backslashes windows wants * Fix linting issue Putting query back in but with escaped backslashes, which should fix the linting issue and still work in the UI.
This commit is contained in:
parent
af52cd9f6b
commit
bda0ad90ad
1 changed files with 3 additions and 2 deletions
|
|
@ -162,9 +162,10 @@ export const DEFAULT_POLICIES = [
|
|||
{
|
||||
key: 15,
|
||||
query:
|
||||
"SELECT 1 FROM registry WHERE path = 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\InactivityTimeoutSecs' AND CAST(data as INTEGER) <= 1800;",
|
||||
"SELECT 1 FROM registry WHERE path = 'HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\InactivityTimeoutSecs' AND CAST(data as INTEGER) <= 1800;",
|
||||
name: "Screen lock enabled (Windows)",
|
||||
description: "Checks if the screen lock is enabled and configured to lock the system within 30 minutes or less.",
|
||||
description:
|
||||
"Checks if the screen lock is enabled and configured to lock the system within 30 minutes or less.",
|
||||
resolution:
|
||||
"Ask your IT administrator to enable the Interactive Logon: Machine inactivity limit setting with a value of 1800 seconds or lower.",
|
||||
platform: "windows",
|
||||
|
|
|
|||
Loading…
Reference in a new issue