mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-08 10:43:51 +00:00
137 lines
8.1 KiB
HTML
137 lines
8.1 KiB
HTML
<md-content flex layout="column" ng-if="octrl.tab === 'general' && octrl.tabView === 'panels'" layout-align="start"
|
|
ng-class="{'no-opacity': resultState !== 'ready' || !rendered}">
|
|
<div layout="row">
|
|
<md-card flex class="wz-metric-color wz-md-card">
|
|
<md-card-content layout="row" class="wz-padding-metric">
|
|
<div class="wz-text-truncatable" flex>Alerts: <span class="wz-text-bold" ng-bind="octrl.totalAlerts()"></span></div>
|
|
<div class="wz-text-truncatable" flex>Level 12 or above alerts: <span class="wz-text-bold" ng-bind="octrl.level12()"></span></div>
|
|
<div class="wz-text-truncatable" flex>Authentication failure: <span class="wz-text-bold" ng-bind="octrl.authFailure()"></span></div>
|
|
<div class="wz-text-truncatable" flex>Authentication success: <span class="wz-text-bold" ng-bind="octrl.authSuccess()"></span></div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<div class="wz-no-display">
|
|
<kbn-vis vis-id="'Wazuh-App-Overview-General-Metric-alerts'"></kbn-vis>
|
|
<kbn-vis vis-id="'Wazuh-App-Overview-General-Level-12-alerts'"></kbn-vis>
|
|
<kbn-vis vis-id="'Wazuh-App-Overview-General-Authentication-failure'"></kbn-vis>
|
|
<kbn-vis vis-id="'Wazuh-App-Overview-General-Authentication-success'"></kbn-vis>
|
|
</div>
|
|
|
|
<div layout="row" layout-align="start stretch" class="height-300">
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[0]}">
|
|
<md-card-content class="wazuh-column">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Alert level evolution</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(0)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Alert-level-evolution" vis-id="'Wazuh-App-Overview-General-Alert-level-evolution'"></kbn-vis>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[1]}">
|
|
<md-card-content class="wazuh-column">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Alerts</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(1)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Alerts" vis-id="'Wazuh-App-Overview-General-Alerts'"></kbn-vis>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<div layout="row" layout-align="space-between stretch" class="height-270">
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[2]}">
|
|
<md-card-content class="wazuh-column">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Top 5 agents</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(2)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Top-5-agents" vis-id="'Wazuh-App-Overview-General-Top-5-agents'"></kbn-vis>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[3]}">
|
|
<md-card-content class="wazuh-column">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Top 5 rule groups</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(3)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Top-5-rule-groups" vis-id="'Wazuh-App-Overview-General-Top-5-rule-groups'"></kbn-vis>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[4]}">
|
|
<md-card-content class="wazuh-column" ng-show="octrl.wzMonitoringEnabled">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Agents status</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(4)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Agents-status" vis-id="'Wazuh-App-Overview-General-Agents-status'"></kbn-vis>
|
|
</md-card-content>
|
|
<md-card-content class="wazuh-column" ng-show="!octrl.wzMonitoringEnabled">
|
|
<span class="wz-headline-title">Agents status</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row">
|
|
<div flex layout="column">
|
|
<div layout="row" class="wz-padding-top-10"></div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<p flex="50" class="wz-text-bold">Total</p>
|
|
<p class="wz-text-right color-grey wz-text-bold">{{octrl.agentsCountTotal}}</p>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10"></div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<p flex="50">Active</p>
|
|
<p class="wz-text-right color-grey">{{octrl.agentsCountActive}}</p>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<p flex="50">Disconnected</p>
|
|
<p class="wz-text-right color-grey">{{octrl.agentsCountDisconnected}}</p>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<p flex="50">Never connected</p>
|
|
<p class="wz-text-right color-grey">{{octrl.agentsCountNeverConnected}}</p>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<p flex="50">Agents coverage</p>
|
|
<p class="wz-text-right color-grey">{{(octrl.agentsCoverity | number:2)}}%</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center stretch" class="height-400">
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[5]}">
|
|
<md-card-content class="wazuh-column">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Commonly fired rules</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(5)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Commonly-fired-rules" vis-id="'Wazuh-App-Overview-General-Commonly-fired-rules'"></kbn-vis>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[6]}">
|
|
<md-card-content class="wazuh-column">
|
|
<div layout="row">
|
|
<span class="wz-headline-title">Most active origins</span>
|
|
<span flex></span>
|
|
<span class="wz-text-link" ng-click="octrl.expand(5)"><i class="fa fa-fw fa-expand"></i></span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<kbn-vis id="Wazuh-App-Overview-General-Most-active-origins" vis-id="'Wazuh-App-Overview-General-Most-active-origins'"></kbn-vis>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
</md-content> |