security: enable audit logging of program launch
This commit is contained in:
parent
173678734c
commit
d33b8f05ee
2 changed files with 11 additions and 0 deletions
7
audit.nix
Normal file
7
audit.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
security.auditd.enable = true;
|
||||
security.audit.enable = true;
|
||||
security.audit.rules = [
|
||||
"-a exit,always -F arch=b64 -S execve"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue