Skip to content

Commit e1644a4

Browse files
authored
cscli setup: detect auditd (#3917)
1 parent dbe9ff0 commit e1644a4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

config/detect.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,25 @@ detect:
379379
# rpm
380380
- /var/log/mysql/mysqld.log
381381

382+
# Audit daemon
383+
#
384+
# This should be the same for deb and rpm.
385+
# Does not go through syslog.
386+
auditd:
387+
when:
388+
- Systemd.UnitInstalled("auditd.service") or len(Path.Glob("/var/log/audit/*.log")) > 0
389+
hub_spec:
390+
collections:
391+
- crowdsecurity/auditd
392+
acquisition_spec:
393+
filename: auditd.yaml
394+
datasource:
395+
source: file
396+
labels:
397+
type: auditd
398+
filenames:
399+
- /var/log/audit/*.log
400+
382401
# There is no standard systemd unit for telnetd, so
383402
# we rely on file detection only.
384403
telnet:

0 commit comments

Comments
 (0)