-
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
Ruff: Add and fix PLW0127 #11642
base: dev
Are you sure you want to change the base?
Ruff: Add and fix PLW0127 #11642
Conversation
DryRun Security SummaryThe code changes primarily focus on enhancing various security tool parsers in Defect Dojo by improving their robustness, accuracy, and efficiency in handling different report formats, vulnerability information extraction, and severity mapping, while also updating code quality standards through linter configurations. Expand for full summarySummary: The provided code changes cover updates to several Python-based parsers used in the Defect Dojo application security platform. These parsers are responsible for integrating the results of various security scanning tools, such as Anchore, Govulncheck, NPM Audit, and Mend, into the Defect Dojo system. The changes do not introduce any obvious security vulnerabilities, but they do focus on improving the robustness, accuracy, and efficiency of the parsing functionality. This includes enhancements like handling different report formats, improving vulnerability information extraction, deduplicating findings, and mapping severity levels to standardized formats. Additionally, the changes to the Ruff linter configuration file suggest a focus on improving code quality and consistency, which can indirectly benefit the overall security of the application by helping to identify potential security issues. Files Changed:
Code AnalysisWe ran |
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
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Add rule PLW0127 and fix it