-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support multiple modes of operation for vulnerability policies #669
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more |
@sahibamittal There are still a few |
src/main/java/org/dependencytrack/persistence/jdbi/VulnerabilityPolicyDao.java
Outdated
Show resolved
Hide resolved
src/main/java/org/dependencytrack/event/kafka/processor/VulnerabilityScanResultProcessor.java
Outdated
Show resolved
Hide resolved
The `operationMode` field in vulnerability policies is mandatory as of DependencyTrack/hyades-apiserver#669. Signed-off-by: nscuro <[email protected]>
Description
At the moment, vulnerability policies are "enforced" as soon as they are created in the system.
There may be situations however, in which policies are supposed to be deployed, but not enforced. Add a mandatory field 'mode of operation' to define the same :
Addressed Issue
DependencyTrack/hyades#957
Checklist