mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-06 10:15:08 +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
|
// Order of impression
|
||||||
keys := []string{
|
keys := []string{
|
||||||
"profile", "peer_label", // Profile name
|
"profile", "label", // Profile name
|
||||||
"operation", "name",
|
"operation", "name",
|
||||||
"mask", "bus", "path", "interface", "member", // dbus
|
"mask", "bus", "path", "interface", "member", // dbus
|
||||||
"info", "comm",
|
"info", "comm",
|
||||||
|
@ -161,7 +161,7 @@ func (aaLogs AppArmorLogs) String() string {
|
||||||
// Optional colors template to use
|
// Optional colors template to use
|
||||||
colors := map[string]string{
|
colors := map[string]string{
|
||||||
"profile": FgBlue,
|
"profile": FgBlue,
|
||||||
"peer_label": FgBlue,
|
"label": FgBlue,
|
||||||
"operation": FgYellow,
|
"operation": FgYellow,
|
||||||
"name": FgMagenta,
|
"name": FgMagenta,
|
||||||
"mask": BoldRed,
|
"mask": BoldRed,
|
||||||
|
|
Loading…
Reference in a new issue