wazuh-kibana-app/public/templates/overview/overview-oscap.html
Jesús Ángel González 8dd551dc14 Added scap metrics
2018-03-08 18:06:12 +01:00

92 lines
4.3 KiB
HTML

<md-content flex layout="column" ng-if="tab == 'oscap'" layout-align="start">
<!-- View: Panels -->
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div flex>Last score: <span class="wz-font-weight-bold">{{scapLastScore}}</span></div>
<div flex>Highest score: <span class="wz-font-weight-bold">{{scapHighestScore}}</span></div>
<div flex>Lowest score: <span class="wz-font-weight-bold">{{scapLowestScore}}</span></div>
</md-card-content>
</md-card>
</div>
<div class="wz-no-display">
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Last-score'"></kbn-vis>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Highest-score'"></kbn-vis>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Lowest-score'"></kbn-vis>
</div>
<div layout="row" layout-align="center stretch" class="height-215">
<md-card flex="25" class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Agents</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Agents'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Profiles</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Profiles'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Content</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Content'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Severity</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Severity'"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="start stretch" class="height-240">
<md-card flex class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Top 5 Agents - Severity high</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Top-5-agents-Severity-high'"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" class="height-320">
<md-card flex="50" class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Top 10 - Alerts</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Top-10-alerts'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="50" class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Top 10 - High risk alerts</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Top-10-high-risk-alerts'"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" class="height-570">
<md-card flex class="wz-md-card">
<md-card-content class="wazuh-column">
<span class="wz-headline-title">Alerts summary</span>
<md-divider></md-divider>
<kbn-vis vis-id="'Wazuh-App-Overview-OSCAP-Last-alerts'"></kbn-vis>
</md-card-content>
</md-card>
</div>
</div>
</md-content>