mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-03-03 14:14:43 +01:00
doc: update aa-log usage.
Some checks are pending
Ubuntu / check (push) Waiting to run
Ubuntu / build (default, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (default, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / tests (push) Blocked by required conditions
Some checks are pending
Ubuntu / check (push) Waiting to run
Ubuntu / build (default, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (default, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / tests (push) Blocked by required conditions
This commit is contained in:
parent
6c284435ae
commit
3f9fe25fd4
2 changed files with 8 additions and 7 deletions
|
@ -15,15 +15,15 @@ import (
|
||||||
"github.com/roddhjav/apparmor.d/pkg/logs"
|
"github.com/roddhjav/apparmor.d/pkg/logs"
|
||||||
)
|
)
|
||||||
|
|
||||||
const usage = `aa-log [-h] [--systemd] [--file file] [--rules | --raw] [profile]
|
const usage = `aa-log [-h] [--systemd] [--file file] [--rules | --raw] [--since] [profile]
|
||||||
|
|
||||||
Review AppArmor generated messages in a colorful way. It supports logs from
|
Review AppArmor generated messages in a colorful way. It supports logs from
|
||||||
auditd, systemd, syslog as well as dbus session events.
|
auditd, systemd, syslog as well as dbus session events.
|
||||||
|
|
||||||
It can be given an optional profile name to filter the output with.
|
It can be given an optional profile name to filter the output with.
|
||||||
|
|
||||||
Default logs are read from '/var/log/audit/audit.log'. Other files in
|
Default logs are read from '/var/log/audit/audit.log'. Other files in
|
||||||
'/var/log/audit/' can easily be checked: 'aa-log -f 1' parses 'audit.log.1'
|
'/var/log/audit/' can easily be checked: 'aa-log -f 1' parses 'audit.log.1'
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help Show this help message and exit.
|
-h, --help Show this help message and exit.
|
||||||
|
|
|
@ -116,15 +116,15 @@ profile dnsmasq {
|
||||||
### Help
|
### Help
|
||||||
|
|
||||||
```
|
```
|
||||||
aa-log [-h] [--systemd] [--file file] [--rules | --raw] [profile]
|
aa-log [-h] [--systemd] [--file file] [--rules | --raw] [--since] [profile]
|
||||||
|
|
||||||
Review AppArmor generated messages in a colorful way. Supports logs from
|
Review AppArmor generated messages in a colorful way. It supports logs from
|
||||||
auditd, systemd, syslog as well as dbus session events.
|
auditd, systemd, syslog as well as dbus session events.
|
||||||
|
|
||||||
It can be given an optional profile name to filter the output with.
|
It can be given an optional profile name to filter the output with.
|
||||||
|
|
||||||
Default logs are read from '/var/log/audit/audit.log'. Other files in
|
Default logs are read from '/var/log/audit/audit.log'. Other files in
|
||||||
'/var/log/audit/' can easily be checked: 'aa-log -f 1' parses 'audit.log.1'
|
'/var/log/audit/' can easily be checked: 'aa-log -f 1' parses 'audit.log.1'
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help Show this help message and exit.
|
-h, --help Show this help message and exit.
|
||||||
|
@ -132,4 +132,5 @@ Options:
|
||||||
-s, --systemd Parse systemd logs from journalctl.
|
-s, --systemd Parse systemd logs from journalctl.
|
||||||
-r, --rules Convert the log into AppArmor rules.
|
-r, --rules Convert the log into AppArmor rules.
|
||||||
-R, --raw Print the raw log without any formatting.
|
-R, --raw Print the raw log without any formatting.
|
||||||
|
-S, --since DATE Show entries not older than the specified date.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue