-
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 RET #10111
Ruff: add and fix RET #10111
Conversation
Hi there 👋, @DryRunSecurity here, below is a summary of our analysis and findings.
Note 🟢 Risk threshold not exceeded. Change Summary (click to expand)The following is a summary of changes in this pull request made by me, your security buddy 🤖. Note that this summary is auto-generated and not meant to be a definitive list of security issues but rather a helpful summary from a security perspective. Summary: The code changes in this pull request focus on improving various security-related aspects of the DefectDojo application, including authorization and access control, input validation, error handling, and integration with external systems like JIRA and GitHub. The changes involve refactoring and simplifying existing functions, enhancing the handling of user permissions and roles, improving the management of findings and endpoints, and strengthening the integration with issue tracking systems. These improvements help to ensure that the application is more secure, reliable, and maintainable. While the changes do not introduce any obvious security vulnerabilities, it is important to continue reviewing the entire codebase and considering the broader context of the application to identify and address any potential security issues. This includes ensuring that input validation is robust, that sensitive data is properly protected, and that the application's security posture is regularly assessed and improved. Files Changed:
Powered by DryRun Security |
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. |
1 similar comment
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. |
@kiblik Starting to look good. Thanks for those other 2 PRs related to this one. Once the Ruff stuff is fixed, I'm ready to approve and I suspect the other reviewers as well 👍 |
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. |
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. |
Closing to reopen - GHA are being weird today. |
New Ruff rule: RET
https://docs.astral.sh/ruff/rules/#flake8-return-ret