feat(aa-log): only clean a few log keys, resolve more variables.

fix #382
This commit is contained in:
Alexandre Pujol 2024-06-19 23:39:23 +01:00
parent 018073638b
commit 3b82cc36ba
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 41 additions and 20 deletions

View file

@ -57,7 +57,7 @@ var (
"interface": "org.freedesktop.DBus",
"member": "AddMatch",
"peer_label": "dbus-daemon",
"exe": "@{bin}/dbus-daemon",
"exe": "/usr/bin/dbus-daemon",
"sauid": "102",
"hostname": "?",
"addr": "?",
@ -145,7 +145,7 @@ func TestAppArmorEvents(t *testing.T) {
"interface": "org.freedesktop.PolicyKit1.Authority",
"member": "CheckAuthorization",
"peer_label": "polkitd",
"exe": "@{bin}/dbus-daemon",
"exe": "/usr/bin/dbus-daemon",
"sauid": "102",
"hostname": "?",
"addr": "?",