-
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 S110 (+ merge all S1 rules) #11256
base: dev
Are you sure you want to change the base?
Conversation
DryRun Security SummaryThe provided code changes cover a wide range of improvements and bug fixes across various components of the DefectDojo application, focusing on enhancing the application's security, reliability, and overall functionality. Expand for full summarySummary: The provided code changes cover a wide range of improvements and bug fixes across various components of the DefectDojo application. The changes focus on enhancing the application's security, reliability, and overall functionality. Key areas addressed include:
Overall, the changes demonstrate a strong focus on improving the security, reliability, and maintainability of the DefectDojo application. The application security engineer's review has highlighted several areas where the changes could be further improved, such as input validation, error handling, and dependency management. Continued attention to these aspects will help ensure the ongoing security and integrity of the application. Files Changed:
Code AnalysisWe ran
Riskiness🟢 Risk threshold not exceeded. |
b28dd82
to
586b87c
Compare
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.
Instead of passing, could we get by on logging the exception? That seems safer than removing the exception handling altogether
Add and fix https://docs.astral.sh/ruff/rules/try-except-pass/