Added critical metric and changed name

This commit is contained in:
Juanjo Jiménez 2018-01-30 15:50:02 +01:00
parent 76118d0ea5
commit 3ad9c16970
5 changed files with 26 additions and 2 deletions

View File

@ -4,6 +4,11 @@
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-VULS-Metric-Critical-severity'" id="Wazuh-App-Overview-VULS-Metric-Critical-severity"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-VULS-Metric-High-severity'" id="Wazuh-App-Overview-VULS-Metric-High-severity"></kbn-vis>

View File

@ -56,7 +56,7 @@
<md-nav-item md-nav-click="switchTab('general')" name="general">General</md-nav-item>
<md-nav-item md-nav-click="switchTab('fim');" name="fim">File Integrity</md-nav-item>
<md-nav-item md-nav-click="switchTab('pm');" name="pm">Policy Monitoring</md-nav-item>
<md-nav-item md-nav-click="switchTab('vuls');" name="vuls">VULS</md-nav-item>
<md-nav-item md-nav-click="switchTab('vuls');" name="vuls">Vulnerabilities</md-nav-item>
<md-nav-item md-nav-click="switchTab('oscap');" name="oscap" ng-show="extensions.oscap && agent.os.platform !== 'windows'">SCAP</md-nav-item>
<md-nav-item md-nav-click="switchTab('audit');" name="audit" ng-show="extensions.audit && agent.os.platform !== 'windows'">Audit</md-nav-item>
<md-nav-item md-nav-click="switchTab('pci');" name="pci" ng-show="extensions.pci">PCI DSS</md-nav-item>

View File

@ -4,6 +4,11 @@
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-VULS-Metric-Critical-severity'" id="Wazuh-App-Overview-VULS-Metric-Critical-severity"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-VULS-Metric-High-severity'" id="Wazuh-App-Overview-VULS-Metric-High-severity"></kbn-vis>

View File

@ -10,7 +10,7 @@
<md-nav-item md-nav-click="switchTab('general');" name="general">General</md-nav-item>
<md-nav-item md-nav-click="switchTab('fim');" name="fim">File integrity</md-nav-item>
<md-nav-item md-nav-click="switchTab('pm');" name="pm">Policy monitoring</md-nav-item>
<md-nav-item md-nav-click="switchTab('vuls');" name="vuls">VULS</md-nav-item>
<md-nav-item md-nav-click="switchTab('vuls');" name="vuls">Vulnerabilities</md-nav-item>
<md-nav-item md-nav-click="switchTab('oscap');" name="oscap" ng-show="extensions.oscap">SCAP</md-nav-item>
<md-nav-item md-nav-click="switchTab('audit');" name="audit" ng-show="extensions.audit">Audit</md-nav-item>
<md-nav-item md-nav-click="switchTab('pci');" name="pci" ng-show="extensions.pci">PCI DSS</md-nav-item>

View File

@ -2330,6 +2330,20 @@
}
}
},
{
"_id": "Wazuh-App-Overview-VULS-Metric-Critical-severity",
"_type": "visualization",
"_source": {
"title": "Wazuh App Overview VULS Metric Critical severity",
"visState": "{\"title\":\"Wazuh App Overview VULS Metric Critical severity\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":20}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Critical severity alerts\"}}]}",
"uiStateJSON": "{}",
"description": "",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: vulnerability-detector AND data.vulnerability.severity: Critical\",\"language\":\"lucene\"}}"
}
}
},
{
"_id": "Wazuh-App-Overview-VULS-Metric-High-severity",
"_type": "visualization",