Adapting overview-general to the new integrations

This commit is contained in:
havidarou 2017-11-14 18:36:47 -05:00
parent dd25170798
commit 3697beb963

View File

@ -1,5 +1,6 @@
<md-content flex layout="column" ng-if="submenuNavItem == 'general'" ng-controller="overviewGeneralController" layout-align="start"> <md-content flex layout="column" ng-if="submenuNavItem == 'general'" ng-controller="overviewGeneralController" class="app-container wazuh-column" layout-align="start">
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(14)'><div></div></div>
<!-- Kibana search bar --> <!-- Kibana search bar -->
<!-- Local nav. --> <!-- Local nav. -->
<div ng-controller="kibanaSearchbar"> <div ng-controller="kibanaSearchbar">
@ -22,13 +23,12 @@
<!-- Filters. --> <!-- Filters. -->
<filter-bar <filter-bar
ng-show="true" ng-show="showFilterBar()"
state="state" state="state"
index-patterns="indexPattern" index-patterns="indexPattern"
ng-if="state.query.language === 'lucene'" ng-if="state.query.language === 'lucene'"
></filter-bar> ></filter-bar>
</div> </div>
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(14)'><div></div></div>
<!-- No results message --> <!-- No results message -->
<md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels' && hideRing(14)"> <md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels' && hideRing(14)">
@ -44,110 +44,111 @@
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"></kbn-disfull> <kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"></kbn-disfull>
</md-content> </md-content>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="hideRing(14) && results && !loading" ng-if="tabView == 'panels'"> <div ng-show="hideRing(14) && results && !loading" ng-if="tabView == 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch"> <div layout="row" layout-align="center stretch" class="wazuh-row" style="height: 115px;">
<md-card flex layout="column"> <md-card class="wazuh-row">
<md-card-content class="metric"> <md-card-content class="wazuh-row metric">
<kbn-vis vis-id="'Wazuh-App-Overview-General-Metric-alerts'" id="Wazuh-App-Overview-General-Metric-alerts"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Metric-alerts'" id="Wazuh-App-Overview-General-Metric-alerts"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex layout="column"> <md-card class="wazuh-row">
<md-card-content class="metric"> <md-card-content class="wazuh-row metric">
<kbn-vis vis-id="'Wazuh-App-Overview-General-Level-12-alerts'" id="Wazuh-App-Overview-General-Level-12-alerts"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Level-12-alerts'" id="Wazuh-App-Overview-General-Level-12-alerts"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex layout="column"> <md-card class="wazuh-row">
<md-card-content class="metric"> <md-card-content class="wazuh-row metric">
<kbn-vis vis-id="'Wazuh-App-Overview-General-Authentication-failure'" id="Wazuh-App-Overview-General-Authentication-failure"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Authentication-failure'" id="Wazuh-App-Overview-General-Authentication-failure"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex layout="column"> <md-card class="wazuh-row">
<md-card-content class="metric"> <md-card-content class="wazuh-row metric">
<kbn-vis vis-id="'Wazuh-App-Overview-General-Authentication-success'" id="Wazuh-App-Overview-General-Authentication-success"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Authentication-success'" id="Wazuh-App-Overview-General-Authentication-success"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
</div> </div>
<div layout="row" layout-align="start stretch"> <div layout="row" layout-align="start stretch" class="wazuh-row" style="height: 190px;">
<md-card flex class="visBox-alert-level-evolution"> <md-card flex class="visBox-alert-level-evolution wazuh-row">
<md-card-content> <md-card-content class="wazuh-column">
<span class="md-headline">Alert level evolution</span> <span class="md-headline">Alert level evolution</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alert-level-evolution'" id="Wazuh-App-Overview-General-Alert-level-evolution"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Alert-level-evolution'" id="Wazuh-App-Overview-General-Alert-level-evolution"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex="60"> <md-card flex="60" class="wazuh-row">
<md-card-content> <md-card-content class="wazuh-column">
<span class="md-headline">Alerts</span> <span class="md-headline">Alerts</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts'" id="Wazuh-App-Overview-General-Alerts"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts'" id="Wazuh-App-Overview-General-Alerts"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
</div> </div>
<div layout="row" layout-align="space-between stretch"> <div layout="row" layout-align="space-between stretch" style="height: 213px;">
<md-card flex> <md-card flex class="wazuh-row">
<md-card-content> <md-card-content class="wazuh-column">
<span class="md-headline">Top 5 agents</span> <span class="md-headline">Top 5 agents</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Top-5-agents'" id="Wazuh-App-Overview-General-Top-5-agents"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Top-5-agents'" id="Wazuh-App-Overview-General-Top-5-agents"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex> <md-card flex class="wazuh-row">
<md-card-content> <md-card-content class="wazuh-column">
<span class="md-headline">Alerts evolution - Top 5 agents</span> <span class="md-headline">Alerts evolution - Top 5 agents</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents'" id="Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents'" id="Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card layout="column" flex="35"> <md-card layout="column" flex="35" class="wazuh-column">
<md-card-content> <md-card-content class="wazuh-column">
<span class="md-headline">Agents status</span> <span class="md-headline">Agents status</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Agents-status'" id="Wazuh-App-Overview-General-Agents-status"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Agents-status'" id="Wazuh-App-Overview-General-Agents-status"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
</div> </div>
<div layout="row" layout-align="center stretch"> <div layout="row" layout-align="center stretch" style="height: 115px;">
<md-card flex layout="column"> <md-card flex class="wazuh-row">
<md-card-content style="text-align: center;"> <md-card-content class="wazuh-column" style="text-align: center;">
<div class="ng-binding">Top source user</div> <div class="ng-binding">Top source user</div>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Top-source-user'" id="Wazuh-App-Overview-General-Top-source-user"></kbn-vis> <kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-source-user'" id="Wazuh-App-Overview-General-Top-source-user"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex layout="column"> <md-card flex layout="column" class="wazuh-row">
<md-card-content style="text-align: center;"> <md-card-content style="text-align: center;" class="wazuh-column">
<div class="ng-binding">Top source ip</div> <div class="ng-binding">Top source ip</div>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Top-source-IP'" id="Wazuh-App-Overview-General-Top-source-IP"></kbn-vis> <kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-source-IP'" id="Wazuh-App-Overview-General-Top-source-IP"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex layout="column"> <md-card flex layout="column" class="wazuh-row">
<md-card-content style="text-align: center;"> <md-card-content style="text-align: center;" class="wazuh-column">
<div class="ng-binding">Top group</div> <div class="ng-binding">Top group</div>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Top-group'" id="Wazuh-App-Overview-General-Top-group"></kbn-vis> <kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-group'" id="Wazuh-App-Overview-General-Top-group"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex layout="column"> <md-card flex layout="column" class="wazuh-row">
<md-card-content style="text-align: center;"> <md-card-content style="text-align: center;" class="wazuh-column">
<div class="ng-binding">Top PCI DSS requirement</div> <div class="ng-binding">Top PCI DSS requirement</div>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Top-PCI-DSS-requirement'" id="Wazuh-App-Overview-General-Top-PCI-DSS-requirement"></kbn-vis> <kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-PCI-DSS-requirement'" id="Wazuh-App-Overview-General-Top-PCI-DSS-requirement"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
</div> </div>
<div layout="row" layout-align="center stretch"> <div layout="row" layout-align="center stretch" style="height: 470px;">
<md-card flex="60"> <md-card flex="60" class="wazuh-column">
<md-card-title> <md-card-title>
<md-card-title-text> <md-card-title-text>
<span class="md-headline">Alerts summary</span> <span class="md-headline">Alerts summary</span>
</md-card-title-text> </md-card-title-text>
</md-card-title> </md-card-title>
<md-card-content> <md-card-content class="wazuh-row">
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts-summary'" id="Wazuh-App-Overview-General-Alerts-summary"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts-summary'" id="Wazuh-App-Overview-General-Alerts-summary"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>
<md-card flex="40"> <md-card flex="40" class="wazuh-column">
<md-card-title> <md-card-title>
<md-card-title-text> <md-card-title-text>
<span class="md-headline">Groups summary</span> <span class="md-headline">Groups summary</span>
</md-card-title-text> </md-card-title-text>
</md-card-title> </md-card-title>
<md-card-content> <md-card-content class="wazuh-row">
<kbn-vis vis-id="'Wazuh-App-Overview-General-Groups-summary'" id="Wazuh-App-Overview-General-Groups-summary"></kbn-vis> <kbn-vis vis-id="'Wazuh-App-Overview-General-Groups-summary'" id="Wazuh-App-Overview-General-Groups-summary"></kbn-vis>
</md-card-content> </md-card-content>
</md-card> </md-card>