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

chore(compliance): add manual checks to compliance CSV #1872

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

MrCloudSec
Copy link
Member

Description

Add manual checks to compliances' CSV.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@MrCloudSec MrCloudSec requested review from a team, toniblyx, jfagoagas and n4ch04 February 9, 2023 12:07
@@ -41,6 +43,64 @@ def update_checks_metadata_with_compliance(
check_compliance.append(compliance)
# Save it into the check's metadata
bulk_checks_metadata[check].Compliance = check_compliance

# Add requirements of Manual Controls
for framework in bulk_compliance_frameworks.values():
Copy link
Member

Choose a reason for hiding this comment

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

why are you doing the same for again here?

You can use the one above.

Copy link
Member Author

Choose a reason for hiding this comment

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

Because the one above is iterating for each check and it has to be only done once.

jfagoagas
jfagoagas previously approved these changes Feb 10, 2023
@MrCloudSec MrCloudSec force-pushed the PRWLR-1503-add-manual-compliance-controls-to-csv branch from 64575b0 to 2e01bde Compare February 10, 2023 11:32
@MrCloudSec MrCloudSec requested a review from jfagoagas February 10, 2023 11:34
Copy link
Member

@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

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

@MrCloudSec MrCloudSec merged commit 25c9bc0 into master Feb 10, 2023
@MrCloudSec MrCloudSec deleted the PRWLR-1503-add-manual-compliance-controls-to-csv branch February 10, 2023 11:38
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