mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Addressing issues found during system test (#12205)
This relates to #11312 `18.9.17.6`: Fixing the issue with policy pointing to a different GPO and Registry value `18.9.47.4.2`: Adding COLLATE NOCASE to avoid case sensitive issue with SpynetReporting value
This commit is contained in:
parent
ba68082543
commit
ebac8705ac
1 changed files with 3 additions and 3 deletions
|
|
@ -7655,7 +7655,7 @@ spec:
|
||||||
To establish the recommended configuration via GP, set the following UI path to Enabled:
|
To establish the recommended configuration via GP, set the following UI path to Enabled:
|
||||||
'Computer Configuration\Policies\Administrative Templates\Windows Components\Data Collection and Preview Builds\Limit Diagnostic Log Collection'
|
'Computer Configuration\Policies\Administrative Templates\Windows Components\Data Collection and Preview Builds\Limit Diagnostic Log Collection'
|
||||||
query: |
|
query: |
|
||||||
SELECT 1 FROM registry WHERE (path = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection\\LimitEnhancedDiagnosticDataWindowsAnalytics' AND data = 1);
|
SELECT 1 FROM registry WHERE (path = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection\\LimitDiagnosticLogCollection' AND data = 1);
|
||||||
purpose: Informational
|
purpose: Informational
|
||||||
tags: compliance, CIS, CIS_Level1, CIS_win10_enterprise_1.12.0, CIS_bullet_18.9.17.6
|
tags: compliance, CIS, CIS_Level1, CIS_win10_enterprise_1.12.0, CIS_bullet_18.9.17.6
|
||||||
contributors: marcosd4h
|
contributors: marcosd4h
|
||||||
|
|
@ -8032,9 +8032,9 @@ spec:
|
||||||
query: |
|
query: |
|
||||||
# The registry key is not present when policy is disabled, so query below is returning 1 when policy is disabled and registry value does not exist. It also return 1 in case policy is enabled and its registry value is 1 or 2
|
# The registry key is not present when policy is disabled, so query below is returning 1 when policy is disabled and registry value does not exist. It also return 1 in case policy is enabled and its registry value is 1 or 2
|
||||||
SELECT 1 WHERE (
|
SELECT 1 WHERE (
|
||||||
NOT EXISTS ( SELECT 1 FROM registry WHERE key = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet' AND name = 'SpynetReporting' )
|
NOT EXISTS ( SELECT 1 FROM registry WHERE key = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet' COLLATE NOCASE AND name = 'SpynetReporting' )
|
||||||
) OR (
|
) OR (
|
||||||
NOT EXISTS ( SELECT 1 FROM registry WHERE path = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet\\SpynetReporting' AND data != 0 )
|
NOT EXISTS ( SELECT 1 FROM registry WHERE path = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet\\SpynetReporting' COLLATE NOCASE AND data != 0 )
|
||||||
);
|
);
|
||||||
purpose: Informational
|
purpose: Informational
|
||||||
tags: compliance, CIS, CIS_Level2, CIS_win10_enterprise_1.12.0, CIS_bullet_18.9.47.4.2
|
tags: compliance, CIS, CIS_Level2, CIS_win10_enterprise_1.12.0, CIS_bullet_18.9.47.4.2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue