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

Add better error messages to utils/controleval.py and add does not meet to stats output #8038

Merged

Conversation

Mab879
Copy link
Member

@Mab879 Mab879 commented Jan 7, 2022

Description:

Adds an error message for the case when the a policy has a level
defined but has no controls. This commit also adds the 'does not meet'
to the stats output

Rationale:

Before the script would give an divide by zero error. Also, added a new status to the script to aid in creating control files.

@Mab879 Mab879 added the Infrastructure Our content build system label Jan 7, 2022
utils/controleval.py Outdated Show resolved Hide resolved
Adds an error message for the case when the a policy has a level
defined but has no controls. This commit also adds the 'does not meet'
to the stats output.
@Mab879 Mab879 force-pushed the add_does_not_meet_to_contorleval branch from 56d9bb3 to 68bf173 Compare January 10, 2022 13:35
@jan-cerny jan-cerny self-assigned this Jan 10, 2022
@jan-cerny jan-cerny added this to the 0.1.60 milestone Jan 10, 2022
@jan-cerny jan-cerny merged commit f36ed14 into ComplianceAsCode:master Jan 10, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Our content build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants