Skip to content

Commit

Permalink
vdk-audit: Clean up some audit events
Browse files Browse the repository at this point in the history
The list of forbidden events that the vdk-audit plugin looks for, is unreasonably restricted by default.
Most of the operations would not affect the security of a cluster or other client operations.

This change removes some events.

Testing Done: N/A, configuration change

Signed-off-by: Andon Andonov <[email protected]>
  • Loading branch information
doks5 committed Oct 12, 2023
1 parent fb384aa commit 66c9632
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
AUDIT_HOOK_EXIT_ON_FORBIDDEN_EVENT = "EXIT_ON_FORBIDDEN_EVENT"
AUDIT_HOOK_EXIT_CODE = "EXIT_CODE"
AUDIT_HOOK_FORBIDDEN_EVENTS_LIST_DEFAULT = (
"os.system;os.chdir;os.chflags;os.chmod;os.chown;os.fork;"
"os.forkpty;os.getxattr;os.kill;os.killpg;os.link;os.listxattr;"
"os.system;os.chdir;os.chflags;os.chown;os.fork;"
"os.forkpty;os.getxattr;os.killpg;os.link;os.listxattr;"
"os.lockf;os.posix_spawn;os.putenv;os.removexattr;os.rmdir;"
"os.scandir;os.setxattr;os.spawn;os.startfile;os.symlink;"
"os.truncate;os.unsetenv;os.utime;pty.spawn;os.spawn;"
"os.setxattr;os.spawn;os.startfile;os.symlink;"
"os.truncate;os.unsetenv;pty.spawn;os.spawn;"
"os.posix_spawn;subprocess.run"
)

Expand Down

0 comments on commit 66c9632

Please sign in to comment.