Skip to content

Comments

Adding audit log_format type#1589

Merged
ddpbsd merged 2 commits intoossec:masterfrom
atomicturtle:auditd-support
Dec 19, 2018
Merged

Adding audit log_format type#1589
ddpbsd merged 2 commits intoossec:masterfrom
atomicturtle:auditd-support

Conversation

@atomicturtle
Copy link
Member

Example:

<log_format>audit</log_format>
/var/log/audit/audit.log

This should handle auditd log rollovers more gracefully.

Signed-off-by: Scott R. Shinn scott@atomicorp.com

Example:
  <localfile>
    <log_format>audit</log_format>
    <location>/var/log/audit/audit.log</location>
  </localfile>

This should handle auditd log rollovers more gracefully.

Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
@atomicturtle
Copy link
Member Author

More readable log entry, that got mangled in the commit:

  <localfile>
    <log_format>audit</log_format>
    <location>/var/log/audit/audit.log</location>
  </localfile>

@ddpbsd ddpbsd merged commit d381578 into ossec:master Dec 19, 2018
@snaow
Copy link
Contributor

snaow commented Mar 7, 2019

Hi @atomicturtle!

Credits here to the Wazuh project.

Linux audit log integration was added to the Wazuh project in October 2016, which was including documentation, rules and decoders (with intense usage of dynamic fields, they were invented mostly for Audit).

October 2016 Wazuh

December 2018 OSSEC

image

It's good to see how OSSEC is getting more and more features from the Wazuh project, that is exactly the best thing about the open source software, different thing is, not to give credits to authors.

I hope you can keep the copyright and/or give the rightful credits, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants