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

Merge 4.6.0 into 4.7.0 #4459

Merged
merged 90 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
37aa66b
docs(#3786): update changelog.md
Deblintrake09 Jul 3, 2023
9814d4c
feat(#3786): new event_monitors
Deblintrake09 Jul 3, 2023
9c3c4c7
fix(#3786): recursive_directory_creation perms
Deblintrake09 Jul 3, 2023
2d00264
feat(#3786): new fixture
Deblintrake09 Jul 3, 2023
f4ed7a2
fix(#3786): configuration imports
Deblintrake09 Jul 3, 2023
1536dd8
feat(#3786): new test module
Deblintrake09 Jul 3, 2023
5ebed16
docs(#3786): update changelog.md
Deblintrake09 Jul 3, 2023
6454c40
style(#3786): fix indentation and whitelines
Deblintrake09 Jul 3, 2023
6552baa
style(#3786): fix indentation
Deblintrake09 Jul 3, 2023
5add503
feat(#3693): add cases and configuration files
Deblintrake09 Jul 4, 2023
7bb1de6
feat(#3693): add test_registry_wildcards module
Deblintrake09 Jul 4, 2023
da94243
feat(#3693): add new callbacks and event_monitor
Deblintrake09 Jul 4, 2023
c50aa1a
docs(#3693): update changelog.md
Deblintrake09 Jul 4, 2023
be7b95b
style(#3693): fix whitelines
Deblintrake09 Jul 4, 2023
bb56c93
feat(#4281): New invalid decoder test case for wazuh-logtest
vikman90 Jul 6, 2023
145d456
fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths
vikman90 Jul 13, 2023
989f966
Merge pull request #4286 from wazuh/4281-add-analysisd-decoder-test
vikman90 Jul 13, 2023
83ca604
Merge branch '4.6.0' into 3693-registry-wildcards
damarisg Jul 17, 2023
8027793
Merge pull request #4270 from wazuh/3693-registry-wildcards
vikman90 Jul 18, 2023
c31208d
feat(#4325): upgrade pyyaml to 6.0.1
jnasselle Jul 18, 2023
cb06e6b
feat: bump version 4.5.2
juliamagan Jul 19, 2023
b908d39
Merge pull request #4329 from wazuh/bump-version-4.5.2
juliamagan Jul 19, 2023
2ad0ac5
Merge pull request #4326 from wazuh/fix/4325-upgrade-pyyaml-to-6.0.1
davidjiglesias Jul 19, 2023
0344a58
fix(#4275): modified year field in test_update_from_year
lsayanes Jul 5, 2023
912c80e
fix(#4275): update custom feeds to NVD 2.0 structure
Leoquicenoz Jul 6, 2023
0eda4d6
fix(#4275): deprecate NVD update_from_year option and related changes
mateocervilla Jul 6, 2023
ca2ba0e
fix(#4275): NVD feed must be in one line
mateocervilla Jul 18, 2023
29fb4ce
fix(#4275): more NVD feed one line fix
mateocervilla Jul 18, 2023
918ac65
style(#4275): fix quoted errors in YAML file
Jul 18, 2023
7811dd6
style(#4275): added changelog entry and fixed indexing problems
MarcelKemp Jul 19, 2023
71ae8d9
Merge branch '4.5.0' into merge-4.5.0-into-4.5.1
Rebits Jul 21, 2023
703efb7
Merge pull request #4345 from wazuh/merge-4.5.0-into-4.5.1
Rebits Jul 21, 2023
5e75f03
Merge remote-tracking branch 'origin/4.5.1' into merge-4.5.1-into-4.5.2
Rebits Jul 21, 2023
74d158e
Merge pull request #4347 from wazuh/merge-4.5.1-into-4.5.2
Rebits Jul 21, 2023
1302e98
Merge 4.5.2 into 4.6.0 (#4348)
damarisg Jul 21, 2023
6b81073
Move 4.5.0 `CHANGELOG.md` changes to 4.6.0 (#4331)
jnasselle Jul 21, 2023
ede149c
Merge pull request #4327 from wazuh/4275-NVD-2.0-ITs
Dwordcito Jul 24, 2023
5beb116
Fix registry wildcards path (#4357)
Deblintrake09 Jul 24, 2023
7a175a5
merge(#3786): '4.6.0' into 3786-location-wildcards
Deblintrake09 Jul 25, 2023
7249189
fix(#3786): imports and paths
Deblintrake09 Jul 26, 2023
91bf408
Merge pull request #4263 from wazuh/3786-location-wildcards
davidjiglesias Jul 28, 2023
358b15c
fix: delete update_from_year for nvd
juliamagan Jul 28, 2023
9fc41e1
Added new test to verify every check tag in configuration
jotacarma90 Jul 28, 2023
acdf199
Merge pull request #4373 from wazuh/add-fim-checks-tests
vikman90 Jul 28, 2023
16c8313
feat(#3723): Adds custom AlmaLinux OVAL feed
mateocervilla Jul 28, 2023
76a0fcc
feat(#3723): Adds AlmaLinux to test_providers vd tests
mateocervilla Jul 28, 2023
51623d4
feat(#3723): Adds AlmaLinux to test_scan_results vd tests
mateocervilla Jul 28, 2023
bc8d055
feat(#3723): Adds AlmaLinux to test_feeds vd tests
mateocervilla Jul 28, 2023
21afb3f
feat(#3723): Adds AlmaLinux to the remaining vd tests description
mateocervilla Jul 28, 2023
80d9099
feat(#3723): Adds AlmaLinux init configurations
mateocervilla Jul 28, 2023
58c34a2
style(#3723): minor fixes
mateocervilla Jul 31, 2023
174bf50
style(#3723): Formatting .yaml files according to linting test
pereyra-m Aug 2, 2023
8a76cee
fix: renamed syscollector wmodules prefix
Rebits Aug 2, 2023
4459e74
fix(#4336): fix flaky test.
mauromalara Jul 25, 2023
8835735
style(#4336): add missing line
mauromalara Jul 25, 2023
cc0f2b2
fix(#4336): fix test logic
mauromalara Aug 2, 2023
3806d69
docs: include 4382 to changelog
Rebits Aug 2, 2023
1ac8640
fix(#4231): fix canonical tests
BelenValdivia Aug 2, 2023
9da6f68
Merge pull request #4372 from wazuh/enhancement/4302-deprecate-update…
davidjiglesias Aug 2, 2023
48815bb
style(#3723): Fixing formatting for AlmaLinux .yaml config file
pereyra-m Aug 2, 2023
5ea2c8e
docs: include affected component to changelog
Rebits Aug 3, 2023
dda5d5f
Merge pull request #4381 from wazuh/4231-fix-test-validate-feed-content
davidjiglesias Aug 3, 2023
6a094f9
Fix FIM framework to validate path in event correctly
jotacarma90 Aug 3, 2023
c3b02b2
Merge pull request #4360 from wazuh/fix-ar-execd-flaky-test
davidjiglesias Aug 3, 2023
fabe442
Merge pull request #4384 from wazuh/4382-fix-syscollector-prefix
davidjiglesias Aug 3, 2023
98f7d98
Merge pull request #4390 from wazuh/remove-uid-gid-empty-fields
vikman90 Aug 3, 2023
15930f6
docs: update changelog
juliamagan Aug 4, 2023
dc5ba5a
Merge pull request #4397 from wazuh/enhancement/4396-update-changelog
juliamagan Aug 4, 2023
e124b36
docs: update changelog
juliamagan Aug 4, 2023
b51f4ad
Merge pull request #4398 from wazuh/enhancement/4395-update-changelog
juliamagan Aug 4, 2023
0b3068e
refactor: rename discard cases files
fdalmaup Jul 17, 2023
d175178
feat: add cloudwatch and inspector discard regex tests and cases
fdalmaup Jul 17, 2023
522cdcf
docs: add changelog entry
Selutario Aug 9, 2023
3fb881a
fix(#4368): Change test and config file
Aug 8, 2023
749fb46
docs(#4368): update changelog
Aug 9, 2023
41546a0
Merge pull request #4376 from wazuh/3723-almalinux-vd-it-support
Dwordcito Aug 10, 2023
c2f9ac1
Merge branch 4.5 into 4.5.1
BelenValdivia Aug 10, 2023
395fd7c
Merge pull request #4416 from wazuh/merge-4.5-into-4.5.1
Rebits Aug 11, 2023
0b0cd22
merge: branch '4.5.1' into merge-4.5.1-into-4.5.2
Rebits Aug 11, 2023
0726ece
Merge pull request #4417 from wazuh/merge-4.5.1-into-4.5.2
havidarou Aug 11, 2023
7c9d30a
merge: branch '4.5.2' into merge-4.5.2-into-4.6.0
Rebits Aug 11, 2023
2f8ef8c
Merge pull request #4418 from wazuh/merge-4.5.2-into-4.6.0
Rebits Aug 11, 2023
a14d65b
Fixed error related to logs format in reliability test (#4387)
RamosFe Aug 11, 2023
c83e1c2
merge: pull request #4406 from wazuh/fix/4368-fix-integrity-sync-syst…
Rebits Aug 14, 2023
bcc8e01
docs: modify changelog and test cases descriptions
fdalmaup Aug 14, 2023
f537bd0
merge: pull request #4278
Rebits Aug 16, 2023
d1c411a
fix(#4423): fix NVD custom feed
mateocervilla Aug 22, 2023
a9dcd3c
Merge pull request #4441 from wazuh/4423-vulndet-it-fail
Dwordcito Aug 23, 2023
48da786
Merge 4.5.2 into 4.6.0 (#4458)
damarisg Aug 24, 2023
747264d
Merge branch '4.6.0' into merge-4.6.0-into-4.7.0
damarisg Aug 24, 2023
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
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Release report: TBD

### Added

- Add new test cases for the `discard_regex` functionality of `CloudWatchLogs` and `Inspector` services. ([#4278](https://github.com/wazuh/wazuh-qa/pull/4278)) \- (Tests)
- Add Windows location wildcards tests ([#4263](https://github.com/wazuh/wazuh-qa/pull/4263)) \- (Tests + Framework)
- New 'SCA' test suite and framework. ([#3566](https://github.com/wazuh/wazuh-qa/pull/3566)) \- (Framework + Tests)
- Add integration tests for AWS module. ([#3911](https://github.com/wazuh/wazuh-qa/pull/3911)) \- (Framework + Tests + Documentation)
Expand Down Expand Up @@ -69,13 +70,49 @@ Release report: TBD

### Fixed

- Fix an error related to logs format in reliability test ([#4387](https://github.com/wazuh/wazuh-qa/pull/4387)) \- (Tests)
- Fix boto3 version requirement for legacy OS ([#4150](https://github.com/wazuh/wazuh-qa/pull/4150)) \- (Framework)
- Fix cases yaml of the analysisd windows registry IT ([#4149](https://github.com/wazuh/wazuh-qa/pull/4149)) \- (Tests)
- Fix a bug in on Migration tool's library ([#4106](https://github.com/wazuh/wazuh-qa/pull/4106)) \- (Framework)
- Fix imports and add windows support for test_report_changes_and_diff IT ([#3548](https://github.com/wazuh/wazuh-qa/issues/3548)) \- (Framework + Tests)
- Fix a regex error in the FIM integration tests ([#3061](https://github.com/wazuh/wazuh-qa/issues/3061)) \- (Framework + Tests)
- Fix an error in the cluster performance tests related to CSV parser ([#2999](https://github.com/wazuh/wazuh-qa/pull/2999)) \- (Framework + Tests)
- Fix bug in the framework on migration tool ([#4027](https://github.com/wazuh/wazuh-qa/pull/4027)) \- (Framework)
- Fix test cluster / integrity sync system test and configuration to avoid flaky behavior ([#4406](https://github.com/wazuh/wazuh-qa/pull/4406)) \- (Tests)

## [4.5.2] - TBD

Wazuh commit: TBD \
Release report: TBD

### Changed

- Fix one_manager_agent environment provisioning by packages for system tests ([#4438](https://github.com/wazuh/wazuh-qa/pull/4438)) \- (Framework)

## [4.5.1] - 24-08-2023

Wazuh commit: https://github.com/wazuh/wazuh/commit/731cdf39a430d2fb6fa02f3721624e07f887b02f
Release report: https://github.com/wazuh/wazuh/issues/18475

### Added

- Add an integration test to check the wazuh-analysisd's decoder parser ([#4286](https://github.com/wazuh/wazuh-qa/pull/4286)) \- (Tests)

### Changed

- Update python integration test dependencies in the README ([#4427](https://github.com/wazuh/wazuh-qa/pull/4427)) \- (Documentation)
- Update vulnerability detector IT outdated URLs ([#4428](https://github.com/wazuh/wazuh-qa/pull/4428)) \- (Tests)

## [4.5.0] - 11-08-2023

Wazuh commit: https://github.com/wazuh/wazuh/commit/f6aba151d08ef065dfc1bdc9b8885c3d4f618fca
Release report: https://github.com/wazuh/wazuh/issues/18235

### Changed

- Delete `update_from_year` from system and E2E tests configuration ([#4372](https://github.com/wazuh/wazuh-qa/pull/4372)) \- (Tests)
- Upgrade PyYAML to 6.0.1. ([#4326](https://github.com/wazuh/wazuh-qa/pull/4326)) \- (Framework)
- Change Vulnerability Detector ITs to support the development of the NVD 2.0 refactor. ([#4327](https://github.com/wazuh/wazuh-qa/pull/4327)) \- (Tests)

## [4.5.2] - TBD

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ brew install python3
brew install autoconf automake libtool

# Install Python libraries
pip3 install pytest freezegun jq jsonschema pyyaml==5.4 psutil paramiko distro pandas==0.25.3 pytest-html==2.0.1 numpydoc==0.9.2
pip3 install filetype freezegun jq jsonschema lockfile numpydoc psutil pytest-html pytest-testinfra pyyaml
```

- Add some internal options and restart
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- 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:
attributes:
- field: DISCARD_FIELD
value: DISCARD_REGEX
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
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
- only_logs_after:
value: ONLY_LOGS_AFTER
- regions:
value: REGIONS
- discard_regex:
attributes:
- field: DISCARD_FIELD
value: DISCARD_REGEX
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- name: cloudwatch_discard_regex_json
description: >
CloudWatch configuration for an event being discarded when the regex matches
the content in the specified field inside the incoming JSON log
configuration_parameters:
SERVICE_TYPE: cloudwatchlogs
LOG_GROUP_NAME: wazuh-cloudwatchlogs-integration-tests
REGIONS: us-east-1
DISCARD_FIELD: networkInterfaces.networkInterfaceId
DISCARD_REGEX: .*eni-networkInterfaceId*
ONLY_LOGS_AFTER: 2023-JUL-03
metadata:
service_type: cloudwatchlogs
log_group_name: wazuh-cloudwatchlogs-integration-tests
only_logs_after: 2023-JUL-03
discard_field: networkInterfaces.networkInterfaceId
discard_regex: .*eni-networkInterfaceId.*
regions: us-east-1
found_logs: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- name: cloudwatch_discard_regex_simple_text
description: >
CloudWatch configuration for an event being discarded when the regex matches
the content inside the incoming simple text log
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- name: inspector_discard_regex
description: >
Inspector configuration for an event being discarded when the regex matches
the content in the specified field inside the incoming JSON log
configuration_parameters:
SERVICE_TYPE: inspector
REGIONS: us-east-1
DISCARD_FIELD: assetAttributes.tags.value
DISCARD_REGEX: .*inspector-integration-test.*
ONLY_LOGS_AFTER: 2023-JAN-12
metadata:
service_type: inspector
only_logs_after: 2023-JAN-12
discard_field: assetAttributes.tags.value
discard_regex: .*inspector-integration-test.*
regions: us-east-1
found_logs: 4
Loading