-
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 some SIM rules #10926
Conversation
DryRun Security SummaryThe pull request covers a wide range of functionality improvements in the Defect Dojo application, with a focus on enhancing security-related aspects such as input validation, authorization checks, and database query optimization. Expand for full summarySummary: The code changes in this pull request cover a wide range of functionality within the Defect Dojo application, including improvements to the handling of findings, engagements, endpoints, notifications, and various other features. From an application security perspective, the changes generally focus on enhancing security-related aspects, such as improving input validation, implementing robust authorization checks, and optimizing database queries. Key security-related changes include:
Overall, the changes in this pull request appear to be a positive step towards improving the security and reliability of the Defect Dojo application. However, it's important to continue reviewing the entire codebase and the application's security posture to identify and address any potential vulnerabilities or areas for further improvement. Files Changed:
Code AnalysisWe ran
Riskiness🟢 Risk threshold not exceeded. |
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. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
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. |
2c159bb
to
34601b0
Compare
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. |
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. |
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. |
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. |
There are many SIM rules, it was easier to exclude some specific
https://docs.astral.sh/ruff/rules/#flake8-simplify-sim
Original #10112 was accidently closed and reopening wasn't possible.