chore(aa-log): minor template improvement.

This commit is contained in:
Alexandre Pujol 2023-11-29 22:08:37 +00:00
parent 60e4a01a76
commit 07a6f35b4e
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 3 additions and 3 deletions

View File

@ -108,8 +108,8 @@ var (
}
// Change Profile
changeprofile1LogStr = `apparmor="ALLOWED" operation="change_onexec" class="file" profile="systemd" name="systemd-user" comm="(systemd)" target="systemd-user"`
changeprofile1Log = map[string]string{
// changeprofile1LogStr = `apparmor="ALLOWED" operation="change_onexec" class="file" profile="systemd" name="systemd-user" comm="(systemd)" target="systemd-user"`
changeprofile1Log = map[string]string{
"apparmor": "ALLOWED",
"class": "file",
"profile": "systemd",

View File

@ -231,7 +231,7 @@
{{ overindent "interface=" }}{{ . }}{{ "\n" }}
{{- end -}}
{{- with .Member -}}
{{ overindent "member=" }}{{ . }}{{ " " }}{{ "\n" }}
{{ overindent "member=" }}{{ . }}{{ "\n" }}
{{- end -}}
{{- if and .Name .Label -}}
{{ overindent "peer=(name=" }}{{ .Name }}{{ ", label="}}{{ .Label }}{{ ")" }}