audit
Print and monitor audit logs
Usage: sos audit <COMMAND>
Commands:
logs Print the events in an audit log file
monitor Monitor changes to an audit log file
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
logs
Print the events in an audit log file
Usage: sos audit logs [OPTIONS] <AUDIT_LOG>
Arguments:
<AUDIT_LOG> Audit log file
Options:
-j, --json Print each event as a line of JSON
-r, --reverse Iterate from the end of the file
-c, --count <COUNT> Limit events displayed to this amount
-a, --address <ADDRESS> Filter to events that match the given address
-h, --help Print help
monitor
Monitor changes to an audit log file
Usage: sos audit monitor [OPTIONS] <AUDIT_LOG>
Arguments:
<AUDIT_LOG> Audit log file
Options:
-j, --json Print each event as a line of JSON
-a, --address <ADDRESS> Filter to events that match the given address(es)
-h, --help Print help