-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(#1915): fix test_restrict_valid conf spacing
- Loading branch information
1 parent
d6f560f
commit caecd65
Showing
1 changed file
with
171 additions
and
172 deletions.
There are no files selected for viewing
343 changes: 171 additions & 172 deletions
343
tests/integration/test_fim/test_files/test_restrict/data/wazuh_conf.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 |
---|---|---|
@@ -1,201 +1,200 @@ | ||
--- | ||
# conf 1 | ||
- tags: | ||
- valid_empty | ||
- valid_empty | ||
apply_to_modules: | ||
- test_restrict_valid | ||
- test_restrict_valid | ||
sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: 'syscollector' | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
|
||
# conf 2 | ||
- tags: | ||
- valid_regex | ||
- valid_regex1 | ||
- valid_regex | ||
- valid_regex1 | ||
apply_to_modules: | ||
- test_restrict_valid | ||
- test_restrict_valid | ||
sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: ".restricted$" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: 'syscollector' | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: ".restricted$" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
|
||
# conf 3 | ||
- tags: | ||
- valid_regex | ||
- valid_regex2 | ||
- valid_regex | ||
- valid_regex2 | ||
apply_to_modules: | ||
- test_restrict_valid | ||
- test_restrict_valid | ||
sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "^restricted" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: 'syscollector' | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "^restricted" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
|
||
# conf 4 | ||
- tags: | ||
- valid_regex | ||
- valid_regex3 | ||
- valid_regex | ||
- valid_regex3 | ||
apply_to_modules: | ||
- test_restrict_valid | ||
- test_restrict_valid | ||
sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "filerestricted|other_restricted$" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: 'syscollector' | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "filerestricted|other_restricted$" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
|
||
# conf 5 | ||
- tags: | ||
- valid_regex_incomplete_unix | ||
- valid_regex_incomplete_unix | ||
apply_to_modules: | ||
- test_restrict_valid | ||
- test_restrict_valid | ||
sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "^/testdir1/f|^/testdir1/subdir/f|^/testdir2/f|^/testdir2/subdir/f" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: 'syscollector' | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "^/testdir1/f|^/testdir1/subdir/f" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
|
||
# conf 6 | ||
- tags: | ||
- valid_regex_incomplete_win | ||
- valid_regex_incomplete_win | ||
apply_to_modules: | ||
- test_restrict_valid | ||
- test_restrict_valid | ||
sections: | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "^c:\\testdir1\\f|^c:\\testdir1\\subdir\\f|^c:\\testdir2\\f|^c:\\testdir2\\subdir\\f" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: 'syscollector' | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- frequency: | ||
value: 2 | ||
- directories: | ||
value: TEST_DIRECTORIES | ||
attributes: | ||
- check_all: 'yes' | ||
- FIM_MODE | ||
- restrict: "^c:\\testdir1\\f|^c:\\testdir1\\subdir\\f" | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' |