Skip to content

Commit 33b07e3

Browse files
Change: Update the severity ratings to match CVSS 3.1
1 parent 502d174 commit 33b07e3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pheme/templatetags/charts/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
from django import template
2222

2323
_severity_class_colors = {
24-
"High": "#d4003e",
24+
"Critical": "#bf0000",
25+
"High": "#f51414",
2526
"Medium": "#fcb900",
2627
"Low": "#7db4d0",
2728
}

pheme/transformation/scanreport/gvmd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
logger = logging.getLogger(__name__)
3939

40-
__threats = ["High", "Medium", "Low"]
40+
__threats = ["Critical", "High", "Medium", "Low"]
4141
__threat_index_lookup = {v: i for i, v in enumerate(__threats)}
4242

4343

pheme/transformation/scanreport/model.py

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def describe():
105105
host="str; ip address of host",
106106
hostname="str; main hostname of the host",
107107
threats={
108+
"critical": "int; amount of critical nvts in host",
108109
"high": "int; amount of high nvts in host",
109110
"medium": "int; amount of medium nvts in host",
110111
"low": "int; amount of low nvts in host",

0 commit comments

Comments
 (0)