Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert the Filebeat auditd module to ECS (#10192)
This implementation is based on a discussion that happened in issue #10111, and implements Christoph's proposal on how to represent privilege escalation. He also implemented it for the Auditbeat Auditd module. Note that very few of the migrated fields used to be documented. - Define these new fields only for Filebeat. They're not in ECS, but may eventually get in there, as nestings of the `user` field set: - user.terminal - user.audit.group.id - user.audit.id - user.effective.group.id - user.effective.id - user.filesystem.group.id - user.filesystem.id - user.owner.group.id - user.owner.id - user.saved.group.id - user.saved.id - Migrate the following fields to ECS, and alias the old fields to the new one - auditd.log.acct => user.name - auditd.log.agid => user.audit.group.id - auditd.log.arch => host.architecture - auditd.log.auid => user.audit.id - auditd.log.cmd => process.args (went from cmdline to args array, so no alias) - auditd.log.comm => process.name - auditd.log.dst => destination.address - auditd.log.egid => user.effective.group.id - auditd.log.euid => user.effective.id - auditd.log.exe => process.executable - auditd.log.fsgid => user.filesystem.group.id - auditd.log.fsuid => user.filesystem.id - auditd.log.geoip => source.geo.* - auditd.log.gid => user.group.id - auditd.log.msg => message - auditd.log.ogid => user.owner.group.id - auditd.log.ouid => user.owner.id - auditd.log.pid => process.pid (long) - auditd.log.ppid => process.ppid (long) - auditd.log.record_type => event.action (lowercased) - auditd.log.res => event.outcome - auditd.log.rport => source.port - auditd.log.sgid => user.saved.group.id - auditd.log.src => source.address - auditd.log.suid => user.saved.id - auditd.log.terminal => user.terminal - auditd.log.tty => user.terminal - auditd.log.uid => user.id - Auditd custom fields not migrated, but that are now explicitly documented in the index template: - auditd.log.addr - auditd.log.laddr - auditd.log.lport - auditd.log.tty - auditd.log.rport - Add more log samples & expected to the integration tests
- Loading branch information