Skip to content

Commit cc6472a

Browse files
dav3rmcdonnnj
andcommitted
Add an explanatory comment about CVSS metric precedence
Co-authored-by: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com>
1 parent 738b5bb commit cc6472a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cyhy_cvesync/cve_sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
ALLOWED_URL_SCHEMES = ["http", "https"]
2121
CVE_URL_RETRY_WAIT_SEC = 5
2222
MAX_CVE_URL_RETRIES = 10
23+
# Preferred CVSS metrics listed in order of preference
2324
PREFERRED_CVSS_METRICS = ["cvssMetricV31", "cvssMetricV30", "cvssMetricV2"]
2425

2526
# Map to track existing CVE documents that were not updated

0 commit comments

Comments
 (0)