Skip to content

Commit

Permalink
refactor: replace error audit message by a warning one
Browse files Browse the repository at this point in the history
  • Loading branch information
jmv74211 committed Nov 30, 2022
1 parent 4e1d988 commit 63eb10e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Release report: TBD

### Changed

- Update logcollector format test due to audit changes ([#3641](https:/wazuh/wazuh-qa/pull/3641)) \- (Framework)
- Refactor `test_basic_usage_realtime_unsupported` FIM test to avoid using time travel ([#3623](https:/wazuh/wazuh-qa/pull/3623)) \- (Tests)
- Add `monitord.rotate_log` to `local_internal_options` file for `test_macos_format_query` ([#3602](https:/wazuh/wazuh-qa/pull/3602)) \- (Tests)
- Adapt analysisd integration tests for EPS ([#3559](https:/wazuh/wazuh-qa/issues/3559)) \- (Tests)
Expand Down
2 changes: 1 addition & 1 deletion deps/wazuh_testing/wazuh_testing/logcollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 63eb10e

Please sign in to comment.