SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

Add artifact to collect new files without owner #97

Closed djoreilly closed 6 months ago

djoreilly commented 7 months ago

This uses the audit plugin to monitor fchown and fchownat system calls in separate queries that run concurrently. The fchown call does not have a path argument, so we watch the monitored directories for new opened files and store their inode to path mappings in an LRU that the fchown query can lookup.