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

syscheck 'report_changes' option requires a blank line #306

Merged
merged 3 commits into from
Nov 23, 2020

Conversation

Zenidd
Copy link
Contributor

@Zenidd Zenidd commented Nov 23, 2020

This PR was originally opened by @oletos7j

This should fix this error I am seeing 'CRITICAL: (1226): Error reading XML file '/var/ossec/etc/ossec.conf': (line 0).'

Happens whenever I try to enable the ossec_syscheck_report_changes_directories_[1-2] parameters.

Missing extra blank line before 'report_changes' causes a critical 'error reading XML' file.
Missing extra blank line before 'report_changes' causes a critical 'error reading XML' file.
@Zenidd Zenidd self-assigned this Nov 23, 2020
@Zenidd Zenidd requested review from manuasir, xr09 and neonmei and removed request for manuasir November 23, 2020 14:45
Copy link
Contributor

@neonmei neonmei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Contributor

@xr09 xr09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Zenidd Zenidd merged commit 7c0d5c7 into master Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants