-
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
Fix for issue #10207 non-existent env import #11053
Conversation
DryRun Security SummaryThe pull request focuses on improving the documentation and functionality of the import and re-import features in the DefectDojo application, with security-relevant improvements such as better validation of user-supplied inputs and centralization of the auto-creation of product types, products, and engagements. Expand for full summarySummary: The changes in this pull request are focused on improving the documentation and functionality of the import and re-import features in the DefectDojo application. The key changes include updates to the documentation to clarify the behavior of the From an application security perspective, the changes do not directly address any specific security vulnerabilities, but they do introduce several security-relevant improvements. These include better validation of user-supplied inputs, such as the Overall, the changes in this pull request appear to be focused on improving the usability and robustness of the import and re-import functionality in DefectDojo, which can indirectly benefit the application's security by helping users understand and properly utilize these features. 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
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
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.
I pulled this down and tested locally. Great job!
When a user passes a currently non-existent Development_Environment into import or re-import, and auto_create_context is true, it will now be created if it does not already exist instead of failing with a 500 server error.
Comments also added to indicate the expectation that the call to get_or_create succeeds.
[sc-7806]