Conversation
|
Skipping CI for Draft Pull Request. |
Contributor
|
Images are ready for the commit at f738f97. To use with deploy scripts, first |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-4.10 #23212 +/- ##
================================================
- Coverage 49.48% 49.48% -0.01%
================================================
Files 2662 2666 +4
Lines 201272 201352 +80
================================================
+ Hits 99597 99635 +38
- Misses 94227 94258 +31
- Partials 7448 7459 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or 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
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.
Description
Jira: ROX-37315
Backport PR #23107 to release-4.10. Image-only exclusions currently cause Build and Deploy policies to skip all deployment checks. The fix keeps deploy-time detection and entity policy lists active while image exclusions continue to apply at Build.
Deployment exclusions remain the way to exempt deployments. Applying image exclusions at Deploy would change their documented Build-only behavior.
Release timing: Please have the 4.10 release engineer choose the patch cycle before merging this draft. Its presence does not request inclusion in a candidate already under validation.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
go test ./central/policy/matcher ./pkg/detection ./pkg/detection/deploytimeon release-4.10.