From 7a18cfed409585c9394db813853932d4b3372e21 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 4 Jun 2022 21:53:24 +0100 Subject: [PATCH] fix(aa-log): ensure the good profile is shown. --- cmd/aa-log/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/aa-log/main.go b/cmd/aa-log/main.go index ee123429..b387c9d7 100644 --- a/cmd/aa-log/main.go +++ b/cmd/aa-log/main.go @@ -151,7 +151,7 @@ func (aaLogs AppArmorLogs) String() string { } // Order of impression keys := []string{ - "profile", "peer_label", // Profile name + "profile", "label", // Profile name "operation", "name", "mask", "bus", "path", "interface", "member", // dbus "info", "comm", @@ -161,7 +161,7 @@ func (aaLogs AppArmorLogs) String() string { // Optional colors template to use colors := map[string]string{ "profile": FgBlue, - "peer_label": FgBlue, + "label": FgBlue, "operation": FgYellow, "name": FgMagenta, "mask": BoldRed,