You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be informative
I use OpenAPI spec to generate me a nice client without too much effort but the generated models (or the spec in Django) might be wrong
Bug description
I use https://openapi-generator.tech/ to generate me a Client + Models from Swgger Json "/api/v2/oa3/schema/?format=json"
So far all good.
However when I try to create report for engagment I got validation issues becasue some findings (Severity = INFO) have empty SLA, so null value for sla_days_remaining
Be informative
I use OpenAPI spec to generate me a nice client without too much effort but the generated models (or the spec in Django) might be wrong
Bug description
I use https://openapi-generator.tech/ to generate me a Client + Models from Swgger Json "/api/v2/oa3/schema/?format=json"
So far all good.
However when I try to create report for engagment I got validation issues becasue some findings (Severity = INFO) have empty SLA, so null value for
sla_days_remaining
so this line (https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/api_v2/serializers.py#L1656) should be patch
sla_days_remaining = serializers.IntegerField(read_only=True)
tosla_days_remaining = serializers.IntegerField(read_only=True, allow_null=True)
And/Or give the ability to set SLA for Info findings.
The text was updated successfully, but these errors were encountered: