We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f778c commit 437dc40Copy full SHA for 437dc40
vulnerabilities/risk.py
@@ -43,6 +43,8 @@ def get_weighted_severity(severities):
43
weight = WEIGHT_CONFIG.get(severity_source, DEFAULT_WEIGHT)
44
max_weight = float(weight) / 10
45
vul_score = severity.value
46
+ if not vul_score:
47
+ continue
48
try:
49
vul_score = float(vul_score)
50
vul_score_value = vul_score * max_weight
0 commit comments