-
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.
feat(wazuh/wazuh#17388): separate cloudwatch test cases
- Loading branch information
Showing
6 changed files
with
172 additions
and
34 deletions.
There are no files selected for viewing
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
...emplate/discard_regex_test_module/configuration_cloudwatch_discard_regex_simple_text.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,21 @@ | ||
- sections: | ||
- section: wodle | ||
attributes: | ||
- name: aws-s3 | ||
elements: | ||
- disabled: | ||
value: 'no' | ||
- service: | ||
attributes: | ||
- type: SERVICE_TYPE | ||
elements: | ||
- aws_profile: | ||
value: qa | ||
- aws_log_groups: | ||
value: LOG_GROUP_NAME | ||
- only_logs_after: | ||
value: ONLY_LOGS_AFTER | ||
- regions: | ||
value: REGIONS | ||
- discard_regex: | ||
value: DISCARD_REGEX |
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
15 changes: 15 additions & 0 deletions
15
...data/test_cases/discard_regex_test_module/cases_cloudwatch_discard_regex_simple_text.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,15 @@ | ||
- name: cloudwatch_discard_regex_simple_text | ||
description: CloudWatch discard regex configuration for simple text logs | ||
configuration_parameters: | ||
SERVICE_TYPE: cloudwatchlogs | ||
LOG_GROUP_NAME: wazuh-cloudwatchlogs-integration-tests | ||
REGIONS: us-east-1 | ||
DISCARD_REGEX: .*Test.* | ||
ONLY_LOGS_AFTER: 2023-JAN-12 | ||
metadata: | ||
service_type: cloudwatchlogs | ||
log_group_name: wazuh-cloudwatchlogs-integration-tests | ||
only_logs_after: 2023-JAN-12 | ||
discard_regex: .*Test.* | ||
regions: us-east-1 | ||
found_logs: 3 |
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