feat(aa-log): improve error formating on rules.

This commit is contained in:
Alexandre Pujol 2023-10-20 23:11:11 +01:00
parent 04cae35e6e
commit 46d25ed922
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 45 additions and 13 deletions

View file

@ -30,12 +30,12 @@ var (
tmplAppArmorProfile = generateTemplate()
// convert apparmor requested mask to apparmor access mode
// TODO: Should be a map of slice, not exhausive yet
// TODO: Should be a map of slice, not exhaustive yet
maskToAccess = map[string]string{
"a": "w",
"c": "w",
"d": "w",
"k": "rk",
"k": "k",
"l": "l",
"m": "rm",
"r": "r",