Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(#3693): add cases and configuration files * feat(#3693): add test_registry_wildcards module * feat(#3693): add new callbacks and event_monitor * docs(#3693): update changelog.md * style(#3693): fix whitelines * Merge 4.5.2 into 4.6.0 (#4348) * feat(#4281): New invalid decoder test case for wazuh-logtest * fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths * feat(#4325): upgrade pyyaml to 6.0.1 * feat: bump version 4.5.2 * refactor(#4344): Add space to version json * feat(#4344): add Release section --------- Co-authored-by: Vikman Fernandez-Castro <vmfdez90@gmail.com> Co-authored-by: Victor M. Fernandez-Castro <victor@wazuh.com> Co-authored-by: jnasselle <jnasselle@gmail.com> Co-authored-by: Julia <juliamgnr@gmail.com> Co-authored-by: Julia Magán <80041853+juliamagan@users.noreply.github.com> Co-authored-by: David Jose Iglesias Lopez <davidj.iglesias@wazuh.com> Co-authored-by: Víctor Rebollo Pérez <victorrebollop@gmail.com> * Move 4.5.0 `CHANGELOG.md` changes to 4.6.0 (#4331) * Move changes of 4.5.0 in CHANGELOG.md --------- Co-authored-by: Deblintrake09 <amicalizzi2005@gmail.com> Co-authored-by: Victor M. Fernandez-Castro <victor@wazuh.com> Co-authored-by: Vikman Fernandez-Castro <vmfdez90@gmail.com> Co-authored-by: jnasselle <jnasselle@gmail.com> Co-authored-by: Julia <juliamgnr@gmail.com> Co-authored-by: Julia Magán <80041853+juliamagan@users.noreply.github.com> Co-authored-by: David Jose Iglesias Lopez <davidj.iglesias@wazuh.com> Co-authored-by: Víctor Rebollo Pérez <victorrebollop@gmail.com>
- Loading branch information
1 parent
a20c999
commit 2b7adff
Showing
15 changed files
with
534 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,6 +190,7 @@ predefined_values: | |
- 4.4.5 | ||
- 4.5.0 | ||
- 4.5.1 | ||
- 4.5.2 | ||
- 4.6.0 | ||
tags: | ||
- active_response | ||
|
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.