chore(aa-log): minor template improvement.
This commit is contained in:
parent
60e4a01a76
commit
07a6f35b4e
2 changed files with 3 additions and 3 deletions
|
|
@ -108,8 +108,8 @@ var (
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change Profile
|
// Change Profile
|
||||||
changeprofile1LogStr = `apparmor="ALLOWED" operation="change_onexec" class="file" profile="systemd" name="systemd-user" comm="(systemd)" target="systemd-user"`
|
// changeprofile1LogStr = `apparmor="ALLOWED" operation="change_onexec" class="file" profile="systemd" name="systemd-user" comm="(systemd)" target="systemd-user"`
|
||||||
changeprofile1Log = map[string]string{
|
changeprofile1Log = map[string]string{
|
||||||
"apparmor": "ALLOWED",
|
"apparmor": "ALLOWED",
|
||||||
"class": "file",
|
"class": "file",
|
||||||
"profile": "systemd",
|
"profile": "systemd",
|
||||||
|
|
|
||||||
|
|
@ -231,7 +231,7 @@
|
||||||
{{ overindent "interface=" }}{{ . }}{{ "\n" }}
|
{{ overindent "interface=" }}{{ . }}{{ "\n" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Member -}}
|
{{- with .Member -}}
|
||||||
{{ overindent "member=" }}{{ . }}{{ " " }}{{ "\n" }}
|
{{ overindent "member=" }}{{ . }}{{ "\n" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if and .Name .Label -}}
|
{{- if and .Name .Label -}}
|
||||||
{{ overindent "peer=(name=" }}{{ .Name }}{{ ", label="}}{{ .Label }}{{ ")" }}
|
{{ overindent "peer=(name=" }}{{ .Name }}{{ ", label="}}{{ .Label }}{{ ")" }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue