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
field=models.FloatField(blank=True, help_text='Numerical CVSSv3 score for the vulnerability. If the vector is given, the score is updated while saving the finding. The value must be between 0-10.', null=True, validators=[django.core.validators.MinValueValidator(0.0), django.core.validators.MaxValueValidator(10.0)], verbose_name='CVSSv3 score'),
Copy file name to clipboardExpand all lines: dojo/forms.py
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -485,6 +485,12 @@ class ImportScanForm(forms.Form):
485
485
required=False,
486
486
initial=False
487
487
)
488
+
apply_tags_to_endpoints=forms.BooleanField(
489
+
help_text="If set to True, the tags will be applied to the endpoints",
490
+
label="Apply Tags to Endpoints",
491
+
required=False,
492
+
initial=False
493
+
)
488
494
489
495
ifis_finding_groups_enabled():
490
496
group_by=forms.ChoiceField(required=False, choices=Finding_Group.GROUP_BY_OPTIONS, help_text='Choose an option to automatically group new findings by the chosen option.')
@@ -577,6 +583,12 @@ class ReImportScanForm(forms.Form):
577
583
required=False,
578
584
initial=False
579
585
)
586
+
apply_tags_to_endpoints=forms.BooleanField(
587
+
help_text="If set to True, the tags will be applied to the endpoints",
588
+
label="Apply Tags to Endpoints",
589
+
required=False,
590
+
initial=False
591
+
)
580
592
581
593
ifis_finding_groups_enabled():
582
594
group_by=forms.ChoiceField(required=False, choices=Finding_Group.GROUP_BY_OPTIONS, help_text='Choose an option to automatically group new findings by the chosen option')
@@ -1190,6 +1202,7 @@ class FindingForm(forms.ModelForm):
0 commit comments