-
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
Uploaded File Management: Centralize file serving and bolster error handling #10638
Conversation
DryRun Security SummaryThe pull request focuses on improving the file serving and access control mechanisms in the DefectDojo application, including implementing additional authorization checks, using a more efficient Expand for full summarySummary: The code changes in this pull request focus on improving the file serving and access control mechanisms in the DefectDojo application. The changes across multiple files, including Key security improvements include:
Overall, these changes demonstrate a proactive approach to improving the application's security posture by addressing potential vulnerabilities and enhancing the overall file handling and access control mechanisms. 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
The management of file uploads within DefectDojo is inconsistent under a handful of scenarios related to permissions and functionalities. This PR accomplishes the following:
FileResponse
to ensure the sameContent-Disposition
and naming conventions[sc-7039]