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
The current implementation is mostly lifted from the existing SARIF parser support. As such, it will also aggregate all the findings in the SARIF file in one single report, and it also supports fingerprint deduplication.
17
+
18
+
### Sample Scan Data
19
+
Sample Mayhem SARIF reports can be found [here](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/mayhem).
print(vectors[0].severities()) # this is the 3 severities
194
-
195
-
cvssv3 = vectors[0].clean_vector()
196
-
severity = vectors[0].severities()[0]
197
-
vectors[0].compute_base_score()
198
-
cvssv3_score = vectors[0].scores()[0]
199
-
finding.severity = severity
200
-
finding.cvssv3_score = cvssv3_score
196
+
import cvss.parser
197
+
from cvss importCVSS2, CVSS3, CVSS4
198
+
199
+
# TEMPORARY: Use Defect Dojo implementation of `parse_cvss_from_text` white waiting for https://github.com/RedHatProductSecurity/cvss/pull/75 to be released
There are no special instructions for upgrading to 2.49.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.49.0) for the contents of the release.
0 commit comments