Skip to content

Commit 5775b47

Browse files
authored
Merge pull request #226 from wazuh/merge-4.9.0-into-4.9.1
Merge 4.9.0 into 4.9.1
2 parents cfb58e8 + ee5dbf0 commit 5775b47

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ All notable changes to this project will be documented in this file.
2323
- Fixed bug in the RemotedSimulator udp connections mocker. ([#86](https://github.com/wazuh/qa-integration-framework/pull/86))
2424
- Fixed agent_simulator response for active-response configuration commands. ([#139](https://github.com/wazuh/qa-integration-framework/pull/139))
2525

26+
## [4.8.2]
27+
2628
## [4.8.1]
2729

2830
## [4.8.0]

Diff for: src/wazuh_testing/modules/fim/configuration.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
SYSCHECK_DEBUG = 'syscheck.debug'
77
SYMLINK_SCAN_INTERVAL = 'syscheck.symlink_scan_interval'
88
FILE_MAX_SIZE = 'syscheck.file_max_size'
9+
RT_DELAY = 'syscheck.rt_delay'
910

1011
# File names
1112
LAST_ENTRY_FILE = 'last-entry.gz'

Diff for: src/wazuh_testing/modules/fim/patterns.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
SENDING_FIM_EVENT = r'.*Sending FIM event: .*"type":"event".*'
2121
EVENT_TYPE_ADDED = r'.*Sending FIM event: .*"type":"added".*'
2222
EVENT_TYPE_MODIFIED = r'.*Sending FIM event: .*"type":"modified".*'
23+
EVENT_TYPE_REPORT_CHANGES = r".*Sending FIM event: .*\"content_changes\":\"([^\"]*)\".*"
24+
EVENT_UNABLE_DIFF = r".*Sending FIM event: .*\"content_changes\":\"(Unable to calculate diff due to [^\"]* limit has been reached.)\".*"
2325
EVENT_TYPE_DELETED = r'.*Sending FIM event: .*"type":"deleted".*'
2426
FIM_EVENT_JSON = r'.*Sending FIM event: (.+)$'
2527
FIM_EVENT_RESTRICT = r".*Ignoring entry '(.*?)' due to restriction '.*?'"
@@ -40,8 +42,8 @@
4042
WIN_CONVERT_FOLDER = r".*fim_adjust_path.*Convert '(.*) to '(.*)' to process the FIM events."
4143

4244
DIFF_MAXIMUM_FILE_SIZE = r".*Maximum file size limit to generate diff information configured to \'(\d+) KB\'.*"
43-
DISK_QUOTA_LIMIT_CONFIGURED_VALUE = r'.*Maximum disk quota size limit configured to \'(\d+) KB\'.*'
44-
FILE_EXCEEDS_DISK_QUOTA = r'.*The (.*) of the file size \'(.*)\' exceeds the disk_quota.*'
45+
DIFF_DISK_QUOTA_LIMIT = r'.*Maximum disk quota size limit configured to \'(\d+) KB\'.*'
46+
DISK_QUOTA_LIMIT_REACHED = r'.*The (.*) of the file size \'(.*)\' exceeds the disk_quota.*'
4547
FILE_SIZE_LIMIT_REACHED = r'.*File \'(.*)\' is too big for configured maximum size to perform diff operation\.'
4648
DIFF_FOLDER_DELETED = r'.*Folder \'(.*)\' has been deleted.*'
4749

@@ -50,4 +52,5 @@
5052
ERROR_MSG_DISK_QUOTA_LIMIT = 'Did not receive "Maximum disk quota size limit configured to \'... KB\'." event'
5153
ERROR_MSG_FIM_EVENT_NOT_DETECTED = 'Did not receive expected "Sending FIM event: ..." event.'
5254
ERROR_MSG_FILE_LIMIT_REACHED = 'Did not receive "File ... is too big ... to perform diff operation" event.'
55+
ERROR_MSG_REPORT_CHANGES_EVENT_NOT_DETECTED = 'Did not receive event with \'content_changes\' field.'
5356
ERROR_MSG_FOLDER_DELETED = 'Did not receive expected "Folder ... has been deleted." event.'

0 commit comments

Comments
 (0)