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

Auditd fileset breaks the system module on macOS #3918

Closed
tsg opened this issue Apr 5, 2017 · 1 comment
Closed

Auditd fileset breaks the system module on macOS #3918

tsg opened this issue Apr 5, 2017 · 1 comment
Labels

Comments

@tsg
Copy link
Contributor

tsg commented Apr 5, 2017

The auditd fileset has no paths defined for macOS. Unfortunately, because all filesets are enabled by default, it means that the system module doesn't work on macOS.

This is the relevant portion of the manifest file:

var:
  - name: paths
    default:
      - /var/log/audit/audit.log*
    os.darwin: [""]
    os.windows: []

An easy solution would be to replace os.darwin: [] with os.darwin: [""], which would mean that the fileset is silently ignored on macOS, but I see that and auditd daemon does seem to exist on macOS as well.

@andrewkroh Would it make sense to support the macOS' auditd?

@tsg tsg added bug Filebeat Filebeat labels Apr 5, 2017
andrewkroh added a commit to andrewkroh/beats that referenced this issue Apr 5, 2017
@andrewkroh
Copy link
Member

I opened #3923 to address this.

It would make sense to have this work on macOS. But I don't know much about auditing on macOS, in fact I don't even know where the logs are (checked /var/log/audit but it does not exists for me). I thought they were written using Apple's Unified Logging framework meaning the logs are in binary somewhere, but I can't even find them in Console.

@tsg tsg closed this as completed in #3923 Apr 5, 2017
tsg pushed a commit that referenced this issue Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants