From 63eb10ef8131c1e587010955cb0ec2ad49ef74c2 Mon Sep 17 00:00:00 2001 From: jmv74211 Date: Wed, 30 Nov 2022 11:29:56 +0100 Subject: [PATCH] refactor: replace error audit message by a warning one --- CHANGELOG.md | 1 + deps/wazuh_testing/wazuh_testing/logcollector.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90ab200e85..74ce6805ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ Release report: TBD ### Changed +- Update logcollector format test due to audit changes ([#3641](https://github.com/wazuh/wazuh-qa/pull/3641)) \- (Framework) - Refactor `test_basic_usage_realtime_unsupported` FIM test to avoid using time travel ([#3623](https://github.com/wazuh/wazuh-qa/pull/3623)) \- (Tests) - Add `monitord.rotate_log` to `local_internal_options` file for `test_macos_format_query` ([#3602](https://github.com/wazuh/wazuh-qa/pull/3602)) \- (Tests) - Adapt analysisd integration tests for EPS ([#3559](https://github.com/wazuh/wazuh-qa/issues/3559)) \- (Tests) diff --git a/deps/wazuh_testing/wazuh_testing/logcollector.py b/deps/wazuh_testing/wazuh_testing/logcollector.py index 25dbe50976..c4fa4f7f4b 100644 --- a/deps/wazuh_testing/wazuh_testing/logcollector.py +++ b/deps/wazuh_testing/wazuh_testing/logcollector.py @@ -531,7 +531,7 @@ def callback_invalid_format_value(line, option, location): if option == 'json': msg = fr"DEBUG: Line '{line}' read from '{location}' is not a JSON object." elif option == 'audit': - msg = fr"ERROR: Discarding audit message because of invalid syntax." + msg = "WARNING: Discarding audit message because of invalid syntax." elif option == 'nmapg': msg = fr"ERROR: Bad formated nmap grepable file." elif option == 'djb-multilog':