feat(aa-log): improve error formating on rules.
This commit is contained in:
parent
04cae35e6e
commit
46d25ed922
6 changed files with 45 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{{- define "comment" -}}
|
||||
{{- if or .FileInherit .NoNewPrivs -}}
|
||||
{{- if or .FileInherit .NoNewPrivs .Optional .Comment -}}
|
||||
{{- " #" -}}
|
||||
{{- end -}}
|
||||
{{- if .FileInherit -}}
|
||||
|
|
@ -8,4 +8,10 @@
|
|||
{{- if .NoNewPrivs -}}
|
||||
{{- " no new privs" -}}
|
||||
{{- end -}}
|
||||
{{- if .Optional -}}
|
||||
{{- " optional:" -}}
|
||||
{{- end -}}
|
||||
{{- with .Comment -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue