-
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
SLA config: allow to use it on all levels #10025
Conversation
Hi there 👋, @DryRunSecurity here, below is a summary of our analysis and findings.
Note 🟢 Risk threshold not exceeded. Tip Get answers to your security questions. Add a comment in this PR starting with @DryRunSecurity. For example...
Powered by DryRun Security |
208fb5c
to
4bb07a7
Compare
@kiblik I can sorta see the use case for SLA config on the engagement level, but am not seeing it on the test and finding level |
Thank you, this is a fair question. To be honest, with this PR, I wanted to open a discussion, on how to implement it in the best way.
|
@mtesauro what are your thoughts on this being implemented? if the decision is to proceed with implementation, I'd say let's start small and add to the engagement only for now. Having an "inheritance" from products would ideal, in a way similar to that of the jira projects do from product to engagement |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
4bb07a7
to
b747ecc
Compare
DryRun Security SummaryThe code changes in this pull request introduce new fields to the Engagement and Test models in the DefectDojo application, allowing for the setting of custom SLA configurations, including the number of days to remediate findings of different severities, without introducing any obvious security risks. Expand for full summarySummary: The code changes in this pull request introduce new fields to the From an application security perspective, these changes do not introduce any obvious security risks. The use of a foreign key field to reference another model is a common and generally secure database design pattern. However, it's important to ensure that the Additionally, it's worth considering the handling of null values for the Overall, this code change appears to be a reasonable and useful enhancement to the DefectDojo application, focused on improving the functionality and configurability of the SLA management features. Files Changed:
Code AnalysisWe ran Riskiness🟢 Risk threshold not exceeded. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
b747ecc
to
8395c49
Compare
It looks like there has not been any activity here for a while. In order to keep the list of pull requests in a manageable state, we are closing this one for now. If we are making a mistake here, please reopen the pull request, and leave us a note 😄 |
We are narrowing the scope of acceptable enhancements to DefectDojo in preparation for v3. Learn more here:
https://github.com/DefectDojo/django-DefectDojo/blob/master/readme-docs/CONTRIBUTING.md
Description
Describe the feature / bug fix implemented by this PR.
If this is a new parser, the parser guide may be worth (re)reading.
Test results
Ideally you extend the test suite in
tests/
anddojo/unittests
to cover the changed in this PR.Alternatively, describe what you have and haven't tested.
Documentation
Please update any documentation when needed in the documentation folder)
Checklist
This checklist is for your information.
dev
.dev
.bugfix
branch.Extra information
Please clear everything below when submitting your pull request, it's here purely for your information.
Moderators: Labels currently accepted for PRs:
Contributors: Git Tips
Rebase on dev branch
If the dev branch has changed since you started working on it, please rebase your work after the current dev.
On your working branch
mybranch
:In case of conflict:
When everything's fine on your local branch, force push to your
myOrigin
remote:To cancel everything:
Squashing commits
pick
byfixup
on the commits you want squashed outpick
byreword
on the first commit if you want to change the commit messageForce push to your
myOrigin
remote: