Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIM Windows Agent - Fix test_basic_usage #1946

Merged
merged 1 commit into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,32 +1,60 @@
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE

# conf 2
- tags:
- ossec_conf_wildcards
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- directories:
value: TEST_WILDCARDS
attributes:
- check_all: 'yes'
- FIM_MODE
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'

# conf 2
- tags:
- ossec_conf_wildcards
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- directories:
value: TEST_WILDCARDS
attributes:
- check_all: 'yes'
- FIM_MODE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- directories:
value: TEST_DIRECTORIES
attributes:
- FIM_MODE
- check_all: 'yes'
- check_mtime: CHECK_TYPE
- check_inode: CHECK_TYPE
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- directories:
value: TEST_DIRECTORIES
attributes:
- FIM_MODE
- check_all: 'yes'
- check_mtime: CHECK_TYPE
- check_inode: CHECK_TYPE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
---
# conf 1
- tags:
- disabled_conf
apply_to_modules:
- test_basic_usage_disabled
sections:
- section: syscheck
elements:
- disabled:
value: 'yes'
- directories:
value: TEST_DIRECTORIES
attributes:
- FIM_MODE
---
# conf 1
- tags:
- disabled_conf
apply_to_modules:
- test_basic_usage_disabled
sections:
- section: syscheck
elements:
- disabled:
value: 'yes'
- directories:
value: TEST_DIRECTORIES
attributes:
- FIM_MODE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- frequency:
value: 30
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- frequency:
value: 30
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- frequency:
value: 30
- windows_audit_interval:
value: WINDOWS_AUDIT_INTERVAL
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- frequency:
value: 30
- windows_audit_interval:
value: WINDOWS_AUDIT_INTERVAL
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- windows_audit_interval:
value: WINDOWS_AUDIT_INTERVAL
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
---
# conf 1
- tags:
- ossec_conf
apply_to_modules:
- MODULE_NAME
sections:
- section: syscheck
elements:
- disabled:
value: 'no'
- windows_audit_interval:
value: WINDOWS_AUDIT_INTERVAL
- directories:
value: TEST_DIRECTORIES
attributes:
- check_all: 'yes'
- FIM_MODE
- section: sca
elements:
- enabled:
value: 'no'
- section: rootcheck
elements:
- disabled:
value: 'yes'
- section: wodle
attributes:
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
Loading