mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 22:35:15 +01:00
fix(aa-log): ensure the good profile is shown.
This commit is contained in:
parent
a6a72cd5c3
commit
7a18cfed40
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue