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

Fixed CIS Policy Checks #498

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Conversation

NZLostboy
Copy link
Contributor

Reconfigured the CIS based policy checks to specifically check the default policy. Prior to this I am not 100% what the outcome of the existing logic would have been which is an oversight. It likely only considered the first policy listed.

Checking the default policy is typically how CIS provides automated guidance. Where only the default policy is checked, it states this in the title of the output for clarity.

In the future we can probably make this better and check all policies for the desired outcome, but for now I think the clarity of the check is more important.

Reconfigured checks to specifically check default policies
@NZLostboy NZLostboy requested review from a team as code owners October 15, 2024 09:22
Copy link
Contributor

@merill merill left a comment

Choose a reason for hiding this comment

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

Tx, yes it's good to call it out that we check just the default policy.

@merill merill merged commit 88f9195 into maester365:main Oct 20, 2024
4 checks passed
@NZLostboy NZLostboy deleted the cis-policy-fixes branch January 2, 2025 20:20
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.

None yet

2 participants