-
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
Enhance OSV Parser to Include Mitigation Information with Fixed Package Versions #11458
Conversation
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.3.7...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Osinski <[email protected]>
* qa connectors: merge articles, fix links * qa 'connecting tools': labels, weights, content * qa user mgmt docs: weights, content, links * fix broken links * fix upgrade notes typo --------- Co-authored-by: Paul Osinski <[email protected]> Co-authored-by: Cody Maffucci <[email protected]>
… (fixed versions)
DryRun Security SummaryThe pull request focuses on improving the documentation for DefectDojo's application security platform, providing more detailed guidance on features like Connectors, import workflows, user management, and findings management to enhance users' understanding of the platform's security capabilities. Expand for full summarySummary: The changes in this pull request are primarily focused on improving the documentation for the DefectDojo application security platform. The updates cover a wide range of features and functionality, including:
Overall, the changes in this pull request appear to be focused on improving the security posture of the DefectDojo application by enhancing the documentation and providing more clarity around the security-relevant features and best practices. These updates should help users better understand and leverage the security capabilities of the platform. Files Changed:
Code AnalysisWe ran |
Description
This pull request enhances the
OSV Scan
parser by adding support for mitigation information, specifically the fixed versions of affected packages.Key Changes:
Extraction of Fixed Versions:
ranges
field within theaffected
section of each vulnerability.fixed
version from theevents
list when available and formatted it as:Upgrade to version: <fixed_version>
.Integration of Mitigation:
mitigation
field in findings to provide actionable guidance for resolving vulnerabilities.Enhanced Usability:
Testing Support:
Test Results
Testing was conducted using the provided sample JSON file (
test.json
). The parser correctly identifies findings and includes mitigation details in its output.Example Output:
CVE-2024-50252_linux
Medium
Upgrade to version: 6.1.119-1
Additionally, I verified that:
Unit tests are planned to extend
dojo/unittests
for comprehensive coverage of these changes.Documentation
The documentation has been updated to reflect this new feature:
Checklist
dev
branch.flake8
and Python 3.11 compliant.Labels
Import Scans
,enhancement
Extra Information
This pull request enhances the usability of the OSVScannerParser, making it more actionable by including mitigation details. It also aligns with existing parsers, such as WPScan, which already support fixed versions, ensuring consistency across DefectDojo.
If you need further clarifications or adjustments, feel free to let me know!