Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Siemens/feat/rule 1.6.1.3 enforce vs complain #148

Conversation

bgro
Copy link
Contributor

@bgro bgro commented Oct 20, 2023

Overall Review of Changes:

Control 1.6.1.3 mandates to Ensure all AppArmor Profiles are in enforce or complain mode.
However, the corresponding task only allows the role to set every profile to enforce mode --
the existing toggle in defaults/main.yml disables the tasks rather than switching between
enforce and complain mode.

Issue Fixes:
#93

Enhancements:
n/a
How has this been tested?:
Tested locally.

bgro added 6 commits October 20, 2023 14:52
… of rules 1.6.1.4 and 1.6.1.3 in the task file. This is necessary because the two rules set the same value, but if both rules are selected, e.g., when using tags for Level 1 and Level 2 (as is necessary when aiming for L2 compliance), then rule 1.6.1.4 must take precedence.

Signed-off-by: Bernd Grobauer <[email protected]>
…his could be removed once the audit role is updated.

Signed-off-by: Bernd Grobauer <[email protected]>
Signed-off-by: Bernd Grobauer <[email protected]>
Signed-off-by: Bernd Grobauer <[email protected]>
Copy link
Member

@uk-bolly uk-bolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent solution thank you

@uk-bolly uk-bolly merged commit 9deb3cc into ansible-lockdown:devel Oct 23, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants