-
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 FBT002 (+ merge all FBT rules) #11261
base: dev
Are you sure you want to change the base?
Conversation
DryRun Security SummaryThe pull request introduces a comprehensive set of improvements to the Defect Dojo application, focusing on enhancing security, reliability, and maintainability through updates to various components including JIRA integration, finding management, access controls, and notification processing. Expand for full summarySummary: The code changes in this pull request cover a wide range of functionality within the Defect Dojo application, with a focus on improving the security, reliability, and maintainability of the application. The changes include updates to the handling of JIRA integration, the management of findings and their deduplication, the processing of notifications, and the implementation of various utility functions. From an application security perspective, the changes introduce several enhancements that can help strengthen the overall security posture of the application. These include improvements to input validation, access control, and the handling of sensitive data. The changes also address potential security vulnerabilities, such as SQL injection and cross-site scripting (XSS), by introducing more robust input validation and sanitization mechanisms. Additionally, the changes to the deduplication and closing of findings functionality, as well as the improvements to the notification processing, can help ensure the accuracy and reliability of the application's security data, which is crucial for effective security management. Files Changed:
Code AnalysisWe ran
Overall Riskiness🟡 Please give this pull request extra attention during review. |
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. |
d91b726
to
c55dbe4
Compare
af4b1d6
to
44a9881
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. |
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 https://docs.astral.sh/ruff/rules/boolean-default-value-positional-argument/ and fix it. + merge FBT rules.