-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
platform(general): Handle SAST suppressions (suppressions V2) #6109
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mikeurbanski1
had a problem deploying
to
scan-security
March 20, 2024 22:27 — with
GitHub Actions
Failure
mikeurbanski1
had a problem deploying
to
scan-security
March 21, 2024 14:37 — with
GitHub Actions
Failure
tronxd
approved these changes
Mar 24, 2024
checkov/common/bridgecrew/integration_features/features/suppressions_integration.py
Outdated
Show resolved
Hide resolved
checkov/common/bridgecrew/integration_features/features/suppressions_integration.py
Outdated
Show resolved
Hide resolved
checkov/common/bridgecrew/integration_features/features/suppressions_integration.py
Outdated
Show resolved
Hide resolved
mikeurbanski1
had a problem deploying
to
scan-security
March 25, 2024 15:25 — with
GitHub Actions
Failure
mikeurbanski1
had a problem deploying
to
scan-security
March 26, 2024 14:31 — with
GitHub Actions
Failure
lirshindalman
approved these changes
Mar 27, 2024
checkov/common/bridgecrew/integration_features/features/suppressions_integration.py
Outdated
Show resolved
Hide resolved
mikeurbanski1
had a problem deploying
to
scan-security
March 27, 2024 21:41 — with
GitHub Actions
Failure
achiar99
reviewed
Apr 17, 2024
checkov/common/bridgecrew/integration_features/features/suppressions_integration.py
Outdated
Show resolved
Hide resolved
mikeurbanski1
had a problem deploying
to
scan-security
April 29, 2024 20:25 — with
GitHub Actions
Failure
mikeurbanski1
had a problem deploying
to
scan-security
April 29, 2024 20:30 — with
GitHub Actions
Failure
mikeurbanski1
had a problem deploying
to
scan-security
April 29, 2024 20:33 — with
GitHub Actions
Failure
achiar99
approved these changes
Apr 30, 2024
mikeurbanski1
had a problem deploying
to
scan-security
May 3, 2024 15:46 — with
GitHub Actions
Failure
mikeurbanski1
had a problem deploying
to
scan-security
May 8, 2024 20:04 — with
GitHub Actions
Failure
mikeurbanski1
had a problem deploying
to
scan-security
May 9, 2024 14:51 — with
GitHub Actions
Failure
boring-repos bot
pushed a commit
to harryzcy/checkov
that referenced
this pull request
May 10, 2024
…crewio#6109) * add logic to handle the new suppression format * log suppressions v2 * handle policy, repo, and file suppressions v2 * add tests and handle cloned policies * fix typing * add helper methods * fix line indentation * remove unnecessary null check * pass prisma severity to sast core * use get to handle old suppressions * remove extra iteration of values
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description
Also adds logic that is somewhat related (still related to customizations) to pass sast check metadata (severities) to sast core, so that the right severity gets used. See also https://code.pan.run/bridgecrew/sast-core/-/merge_requests/655
Checklist: