feat(aa-log): more log cleanup.
This commit is contained in:
parent
0b412b5713
commit
11ca694af7
6 changed files with 24 additions and 30 deletions
|
|
@ -50,6 +50,7 @@ func GetApparmorLogs(file io.Reader, profile string) []string {
|
|||
}
|
||||
|
||||
// Clean & remove doublon in logs
|
||||
res = util.DecodeHexInString(res)
|
||||
for _, aa := range regCleanLogs {
|
||||
res = aa.Regex.ReplaceAllLiteralString(res, aa.Repl)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue