Skip to content

Commit

Permalink
Fix issue DefectDojo#3121 with necessary field for findings POST API …
Browse files Browse the repository at this point in the history
…(Active and verified are required as well)
  • Loading branch information
Michael Chen authored and Michael Chen committed Aug 13, 2021
1 parent 8090832 commit 776fe02
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dojo/api_v2/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,11 +1060,8 @@ class Meta:
model = Finding
fields = '__all__'
extra_kwargs = {
'mitigation': {'required': True},
'impact': {'required': True},
'duplicate': {'required': True},
'active': {'required': True},
'verified': {'required': True},
'false_p': {'required': True},
'reporter': {'default': serializers.CurrentUserDefault()},
}

Expand Down

0 comments on commit 776fe02

Please sign in to comment.