Skip to content

Commit

Permalink
Change visualization to only pending
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriscos committed Sep 17, 2024
1 parent 393eeb6 commit df9500e
Showing 1 changed file with 15 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const getVisStateSeverityCritical = (indexPatternId: string) => {
bgColor: false,
labelColor: false,
subText: '',
fontSize: 50,
fontSize: 40,
},
},
},
Expand Down Expand Up @@ -119,7 +119,7 @@ const getVisStateSeverityHigh = (indexPatternId: string) => {
bgColor: false,
labelColor: false,
subText: '',
fontSize: 50,
fontSize: 40,
},
},
},
Expand Down Expand Up @@ -204,7 +204,7 @@ const getVisStateSeverityMedium = (indexPatternId: string) => {
bgColor: false,
labelColor: false,
subText: '',
fontSize: 50,
fontSize: 40,
},
},
},
Expand Down Expand Up @@ -289,7 +289,7 @@ const getVisStateSeverityLow = (indexPatternId: string) => {
bgColor: false,
labelColor: false,
subText: '',
fontSize: 50,
fontSize: 40,
},
},
},
Expand Down Expand Up @@ -344,7 +344,7 @@ const getVisStateSeverityLow = (indexPatternId: string) => {
const getVisStateEvaluatedEvaluationPending = (indexPatternId: string) => {
return {
id: 'vulnerabilities_evaluation_count',
title: 'Evalution',
title: 'Evaluation',
type: 'metric',
params: {
addLegend: false,
Expand All @@ -366,7 +366,7 @@ const getVisStateEvaluatedEvaluationPending = (indexPatternId: string) => {
style: {
bgColor: false,
bgFill: '#000',
fontSize: 50,
fontSize: 40,
labelColor: false,
subText: '',
},
Expand Down Expand Up @@ -406,13 +406,6 @@ const getVisStateEvaluatedEvaluationPending = (indexPatternId: string) => {
type: 'filters',
params: {
filters: [
{
input: {
language: 'kuery',
query: 'wazuh.vulnerability.under_evaluation:false',
},
label: 'Evaluated',
},
{
input: {
language: 'kuery',
Expand All @@ -439,7 +432,7 @@ export const getKPIsPanel = (
return {
'1': {
gridData: {
w: 8,
w: 9,
h: 6,
x: 0,
y: 0,
Expand All @@ -453,9 +446,9 @@ export const getKPIsPanel = (
},
'2': {
gridData: {
w: 8,
w: 9,
h: 6,
x: 8,
x: 9,
y: 0,
i: '2',
},
Expand All @@ -467,9 +460,9 @@ export const getKPIsPanel = (
},
'3': {
gridData: {
w: 8,
w: 9,
h: 6,
x: 16,
x: 18,
y: 0,
i: '3',
},
Expand All @@ -481,9 +474,9 @@ export const getKPIsPanel = (
},
'4': {
gridData: {
w: 8,
w: 9,
h: 6,
x: 24,
x: 27,
y: 0,
i: '4',
},
Expand All @@ -495,9 +488,9 @@ export const getKPIsPanel = (
},
'5': {
gridData: {
w: 16,
w: 12,
h: 6,
x: 32,
x: 36,
y: 0,
i: '5',
},
Expand Down

0 comments on commit df9500e

Please sign in to comment.