Skip to content

Commit

Permalink
Improve SELinux analyser regex
Browse files Browse the repository at this point in the history
  • Loading branch information
banjoh committed Sep 29, 2023
1 parent d568bb5 commit 574eafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ spec:
- textAnalyze:
checkName: Check if SELinux is enabled
fileName: host-collectors/selinux-config/config
regex: 'SELINUX=enforcing'
regex: '(?m)^SELINUX=enforcing'
ignoreIfNoFiles: true
outcomes:
- fail:
Expand Down

0 comments on commit 574eafe

Please sign in to comment.