-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4270 from wazuh/3693-registry-wildcards
Add FIM Registry Wildcards IT support
- Loading branch information
Showing
9 changed files
with
467 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...test_registry_wildcards/data/configuration_template/configuration_registry_wildcards.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
- sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: FREQUENCY | ||
- windows_registry: | ||
value: WINDOWS_REGISTRY | ||
attributes: | ||
- arch: both | ||
|
||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: active-response | ||
elements: | ||
- disabled: | ||
value: 'yes' |
23 changes: 23 additions & 0 deletions
23
...m/test_registry/test_registry_wildcards/data/test_cases/cases_registry_key_wildcards.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
- name: Test key with question mark wildcard (Scheduled) | ||
description: Test path with single question mark wildcard in scheduled mode | ||
configuration_parameters: | ||
FREQUENCY: 2 | ||
WINDOWS_REGISTRY: HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMA? | ||
metadata: | ||
fim_mode: scheduled | ||
|
||
- name: Test key with single asterisk wildcard (Scheduled) | ||
description: Test path with single asterisk wildcard in scheduled mode | ||
configuration_parameters: | ||
FREQUENCY: 2 | ||
WINDOWS_REGISTRY: HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\* | ||
metadata: | ||
fim_mode: scheduled | ||
|
||
- name: Test key with asterisk+question mark (Scheduled) | ||
description: Test path with multiple asterisks and question mark wildcards combined in scheduled mode | ||
configuration_parameters: | ||
FREQUENCY: 2 | ||
WINDOWS_REGISTRY: HKEY_LOCAL_MACHINE\*\*\PointerClas? | ||
metadata: | ||
fim_mode: scheduled |
23 changes: 23 additions & 0 deletions
23
...test_registry/test_registry_wildcards/data/test_cases/cases_registry_value_wildcards.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
- name: Test value with question mark wildcard (Scheduled) | ||
description: Test path with single question mark wildcard | ||
configuration_parameters: | ||
FREQUENCY: 2 | ||
WINDOWS_REGISTRY: HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\PointerClas? | ||
metadata: | ||
fim_mode: scheduled | ||
|
||
- name: Test value with single asterisk wildcard (Scheduled) | ||
description: Test path with single asterisk wildcard in scheduled mode | ||
configuration_parameters: | ||
FREQUENCY: 2 | ||
WINDOWS_REGISTRY: HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\* | ||
metadata: | ||
fim_mode: scheduled | ||
|
||
- name: Test3 value with asterisk+question mark (Scheduled) | ||
description: Test path with multiple asterisks and question mark wildcards combined in scheduled mode | ||
configuration_parameters: | ||
FREQUENCY: 2 | ||
WINDOWS_REGISTRY: HKEY_LOCAL_MACHINE\*\*\PointerClas? | ||
metadata: | ||
fim_mode: scheduled |
Oops, something went wrong.