-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add Status of Findings when Close Finding #7068
Conversation
adjusted to include finding status when close a finding
changed close_finding to include status of a finding
updated serializer to include finding status when closing finding
Update serializers.py
added finding status to finding_close
changed false_positive to false_p and tried to remove flake8
fixing Flak8 E231
removed whitespaces
fixed flake8
changed false_positive to false_p
revert mistakenly changing close
@alles-klar as far as I know you are an expert to the k8 deployment: Do you know why it fails? |
I re-ran the failed ones and it seems to be working now. |
Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
fixed a missing '
@Maffooch you are right with the .get. Was a bit lazy from my side to do it in one file but not another. I implemented your suggestion and added a missing apostrophe. |
I have 2 improvements that I would like to add in the future:
What do you think? Would this be also good PR? |
This seems sensical to me when manually setting the flag.
I think this would be a little annoying tbh. Especially for smaller teams or folks just getting to know dojo. I think it would be best to leave that to the users |
@Maffooch could you explain me https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/finding/views.py#L744 then? It seems to me that somebody had the inital thought of checking whether the finding includes any notes? If so, then the contributor made a mistake with |
Looks like something to do with note types from this #1539 |
@mtesauro could you please review the PR too or is something missing? |
@italvi LGTM - approving and merging |
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.
Approve
This is a try to resolve the issue discussed in #7059
Result: