Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pheme/templatetags/charts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
from django import template

_severity_class_colors = {
"High": "#d4003e",
"Critical": "#bf0000",
"High": "#f51414",
"Medium": "#fcb900",
"Low": "#7db4d0",
}
Expand Down
2 changes: 1 addition & 1 deletion pheme/transformation/scanreport/gvmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

logger = logging.getLogger(__name__)

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


Expand Down
1 change: 1 addition & 0 deletions pheme/transformation/scanreport/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def describe():
host="str; ip address of host",
hostname="str; main hostname of the host",
threats={
"critical": "int; amount of critical nvts in host",
"high": "int; amount of high nvts in host",
"medium": "int; amount of medium nvts in host",
"low": "int; amount of low nvts in host",
Expand Down
Loading