-
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
feat(disclaimers): Split disclaimers #10902
base: dev
Are you sure you want to change the base?
Conversation
DryRun Security SummaryThe pull request improves the handling of disclaimers in the Defect Dojo application by introducing separate notification-specific disclaimer settings, updating email templates, and implementing conditional rendering to enhance security and flexibility in displaying disclaimers across various contexts. Expand for full summarySummary: The changes in this pull request focus on improving the handling of disclaimers in various parts of the Defect Dojo application, particularly in the context of email notifications. The key changes include:
From an application security perspective, these changes are generally positive as they demonstrate a security-conscious approach to handling sensitive information and user-provided content. By separating the disclaimer settings and using conditional rendering, the risk of potential security vulnerabilities, such as cross-site scripting (XSS), is reduced. However, it's important to ensure that the content of the Files Changed:
Code AnalysisWe ran
Overall Riskiness🟡 Please give this pull request extra attention during review. |
e3a271b
to
c9a2893
Compare
Until now, all disclaimers have been the same which is not the best.
Now you can choose between:
disclaimer_notifications
disclaimer_reports
There is one more to inform users that they should not include any personal information in notes:
disclaimer_notes
Plus if there is an internal policy to have a disclaimer in all reports, it is possible to use
disclaimer_reports_forced
to not allow users to be excluded it.E.g.: