feat(dashboard): add more fields to dashboard overview component (#4084)

This commit is contained in:
Pedro Martín
2024-05-24 15:05:51 +02:00
committed by GitHub
parent 4dc2070853
commit ee178c2305
+45 -3
View File
@@ -1533,7 +1533,7 @@ def generate_table(data, index, color_mapping_severity, color_mapping_status):
[
html.P(
html.Strong(
"Resource uid: ",
"ResourceUid: ",
style={
"margin-right": "5px"
},
@@ -1553,7 +1553,7 @@ def generate_table(data, index, color_mapping_severity, color_mapping_status):
[
html.P(
html.Strong(
"Finding uid: ",
"FindingUid: ",
style={
"margin-right": "5px"
},
@@ -1573,7 +1573,7 @@ def generate_table(data, index, color_mapping_severity, color_mapping_status):
[
html.P(
html.Strong(
"Check id: ",
"CheckId: ",
style={
"margin-right": "5px"
},
@@ -1628,6 +1628,48 @@ def generate_table(data, index, color_mapping_severity, color_mapping_status):
],
style={"display": "flex"},
),
html.Div(
[
html.P(
html.Strong(
"StatusExtended: ",
style={
"margin-right": "5px"
},
)
),
html.P(
str(
data.get(
"STATUS_EXTENDED",
"",
)
)
),
],
style={"display": "flex"},
),
html.Div(
[
html.P(
html.Strong(
"Risk: ",
style={
"margin-right": "5px"
},
)
),
html.P(
str(
data.get(
"RISK",
"",
)
)
),
],
style={"display": "flex"},
),
],
style={
"width": "50%",