Skip to content
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

Allow None Option for Active/Verified on Import/Reimport to Mirror UI Options #11447

Merged
merged 2 commits into from
Dec 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dojo/api_v2/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,10 +2087,10 @@ class CommonImportScanSerializer(serializers.Serializer):
help_text="Minimum severity level to be imported",
)
active = serializers.BooleanField(
help_text="Override the active setting from the tool.",
help_text="Force findings to be active/inactive or default to the original tool (None)", required=False,
)
verified = serializers.BooleanField(
help_text="Override the verified setting from the tool.",
help_text="Force findings to be verified/not verified or default to the original tool (None)", required=False,
)

# TODO: why do we allow only existing endpoints?
Expand Down
Loading