-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AnchoreCTL_Vulns parser: removes URL and corrects mapping if no fix for mitigation field #11623
Conversation
- removes the URL from the mitigation field as that is already on the references - Only writes on the mitigation field if there is actually a fix available for it to avoid some the following results: ``` Upgrade to libssl3 None ```
DryRun Security SummaryThe pull request improves the Expand for full summarySummary: The code changes in this pull request focus on improving the functionality of the
These changes are positive from an application security perspective, as they provide more accurate and comprehensive vulnerability information to the user. The updated mitigation information helps the user understand the appropriate remediation steps, while the improved CVSS v3 score calculation ensures that the severity of the vulnerabilities is accurately represented, which is crucial for risk assessment and prioritization. Files Changed:
Code AnalysisWe ran |
- removes the URL from the mitigation field as that is already on the references - Writes a better message on the mitigation field to avoid: ``` Upgrade to libssl3 None ``` - note: this should not modify default deduplication for such parser
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.
Approved
We are narrowing the scope of acceptable enhancements to DefectDojo in preparation for v3. Learn more here:
https://github.com/DefectDojo/django-DefectDojo/blob/master/readme-docs/CONTRIBUTING.md
Description
Describe the feature / bug fix implemented by this PR.
If this is a new parser, the parser guide may be worth (re)reading.
Test results
Ideally you extend the test suite in
tests/
anddojo/unittests
to cover the changed in this PR.Alternatively, describe what you have and haven't tested.
Documentation
Please update any documentation when needed in the documentation folder)
Checklist
This checklist is for your information.
dev
.dev
.bugfix
branch.Extra information
Please clear everything below when submitting your pull request, it's here purely for your information.
Moderators: Labels currently accepted for PRs:
Contributors: Git Tips
Rebase on dev branch
If the dev branch has changed since you started working on it, please rebase your work after the current dev.
On your working branch
mybranch
:In case of conflict:
When everything's fine on your local branch, force push to your
myOrigin
remote:To cancel everything:
Squashing commits
pick
byfixup
on the commits you want squashed outpick
byreword
on the first commit if you want to change the commit messageForce push to your
myOrigin
remote: