-
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(Risk_Acceptance): Remove redundancy in strings of Treatments #10361
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 appear to be focused on enhancing the risk acceptance functionality in the DefectDojo application. The key changes include updating the TREATMENT_CHOICES field to use a more descriptive dictionary, adding new fields to capture the security team's recommendation and the risk owner's decision, allowing the upload of proof documents, specifying the risk owner, and introducing expiration handling features for risk acceptances. From an application security perspective, these changes are positive as they provide more structure and control around the risk acceptance process. The ability to capture the security team's recommendation, the risk owner's decision, and supporting documentation can help organizations better manage and track their risk acceptance decisions. Additionally, the expiration handling features, such as automatically reactivating findings and restarting SLAs when a risk acceptance expires, can help ensure that risks are properly reevaluated and addressed over time, improving the overall security posture of the organization. Files Changed:
Powered by DryRun Security |
Have you check if the API needs to be updated? I cannot tell without doing some testing |
468d38c
to
d028dc7
Compare
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
Yes, it works. |
Btw, Django 5.0 supports more flexible form (not just list of tuples but using of a dict). |
Make strings translatable and remove redundancy