-
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.
Add Integratord options tag IT support (#4166)
* docs(#392): Update Changelog * feat(#392): new callbacks and event detectors * fix(#3928): update callbacks * feat(#3928): add new pagetduty ITs * feat(#3928): add new shuffle ITs * feat(#3928): add new slack option ITs * docs(#3928): update changelog and comments * feat(#3928): fix framework for integratord tests * feat(#3928): Add --integration-api-key option to IT * feat(#3928): only verify if a response is received in integratord IT * docs(#3928): modify integratord tests min version to 4.6.0 --------- Co-authored-by: Tomas Turina <tomas.turina@wazuh.com>
- Loading branch information
1 parent
73a8318
commit a20c999
Showing
20 changed files
with
1,234 additions
and
19 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
35 changes: 35 additions & 0 deletions
35
.../test_integration_options/data/configuration_template/config_pagerduty_no_option_tag.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,35 @@ | ||
- tags: | ||
- all | ||
apply_to_modules: | ||
- test_pagerduty_no_option_tag | ||
sections: | ||
- section: integration | ||
elements: | ||
- name: | ||
value: pagerduty | ||
- api_key: | ||
value: API_KEY | ||
- alert_format: | ||
value: json | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: auth | ||
elements: | ||
- disabled: | ||
value: 'yes' |
37 changes: 37 additions & 0 deletions
37
...ratord/test_integration_options/data/configuration_template/config_pagerduty_options.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,37 @@ | ||
- tags: | ||
- all | ||
apply_to_modules: | ||
- test_pagerduty_options | ||
sections: | ||
- section: integration | ||
elements: | ||
- name: | ||
value: pagerduty | ||
- api_key: | ||
value: API_KEY | ||
- alert_format: | ||
value: json | ||
- options: | ||
value: OPTIONS_VALUE | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: auth | ||
elements: | ||
- disabled: | ||
value: 'yes' |
35 changes: 35 additions & 0 deletions
35
...rd/test_integration_options/data/configuration_template/config_shuffle_no_option_tag.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,35 @@ | ||
- tags: | ||
- all | ||
apply_to_modules: | ||
- test_shuffle_no_option_tag | ||
sections: | ||
- section: integration | ||
elements: | ||
- name: | ||
value: shuffle | ||
- hook_url: | ||
value: HOOK_URL | ||
- alert_format: | ||
value: json | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: auth | ||
elements: | ||
- disabled: | ||
value: 'yes' |
37 changes: 37 additions & 0 deletions
37
...egratord/test_integration_options/data/configuration_template/config_shuffle_options.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,37 @@ | ||
- tags: | ||
- all | ||
apply_to_modules: | ||
- test_shuffle_options | ||
sections: | ||
- section: integration | ||
elements: | ||
- name: | ||
value: shuffle | ||
- hook_url: | ||
value: HOOK_URL | ||
- alert_format: | ||
value: json | ||
- options: | ||
value: OPTIONS_VALUE | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: auth | ||
elements: | ||
- disabled: | ||
value: 'yes' |
35 changes: 35 additions & 0 deletions
35
...tord/test_integration_options/data/configuration_template/config_slack_no_option_tag.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,35 @@ | ||
- tags: | ||
- all | ||
apply_to_modules: | ||
- test_slack_no_option_tag | ||
sections: | ||
- section: integration | ||
elements: | ||
- name: | ||
value: slack | ||
- hook_url: | ||
value: HOOK_URL | ||
- alert_format: | ||
value: json | ||
- section: sca | ||
elements: | ||
- enabled: | ||
value: 'no' | ||
- section: rootcheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: syscheck | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: wodle | ||
attributes: | ||
- name: syscollector | ||
elements: | ||
- disabled: | ||
value: 'yes' | ||
- section: auth | ||
elements: | ||
- disabled: | ||
value: 'yes' |
Oops, something went wrong.