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(v3): backport latest v4 changes #3916
Conversation
Co-authored-by: Pepe Fagoaga <[email protected]>
Co-authored-by: sergargar <[email protected]>
Co-authored-by: Pepe Fagoaga <[email protected]>
Co-authored-by: sergargar <[email protected]>
…nk (#3858) Co-authored-by: puchy22 <[email protected]>
Co-authored-by: sergargar <[email protected]>
Co-authored-by: sergargar <[email protected]>
You can check the documentation for this PR here -> SaaS Documentation |
This PR requires to adapt all the providers thing in v4 to the |
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
Co-authored-by: sergargar <[email protected]>
Co-authored-by: sergargar <[email protected]>
You can check the documentation for this PR here -> SaaS Documentation |
docs/developer-guide/unit-testing.md
Outdated
): | ||
# Instantiate an object of class with the mocked provider | ||
bigquery_client = BigQuery( | ||
set_mocked_gcp_provider(project_ids=[GCP_PROJECT_ID]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be audit_info
, please review the docs pulled from v4 branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
prowler/lib/outputs/summary_table.py
Outdated
@@ -40,11 +40,13 @@ def display_summary_table( | |||
entity_type = "Project ID/s" | |||
audited_entities = ", ".join(audit_info.project_ids) | |||
|
|||
if findings: | |||
# Check if there are findings and that they are not all MANUAL | |||
if findings and not all(finding.status == "MANUAL" for finding in findings): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is manual present in v4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
prowler/lib/outputs/summary_table.py
Outdated
current["Total"] = current["Critical"] = current["High"] = current[ | ||
"Medium" | ||
] = current["Low"] = 0 | ||
current["Total"] = current["Pass"] = current["Muted"] = current[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
muted
is not present in v3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
You can check the documentation for this PR here -> SaaS Documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @sergargar 👏
Description
Backport latest v4 changes.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.