wazuh-kibana-app/public/templates/overview-pm.html
2017-11-17 11:02:17 -05:00

95 lines
4.3 KiB
HTML

<md-content flex layout="column" ng-if="tab == 'pm'" ng-controller="overviewPMController" class="app-container wazuh-column" layout-align="start">
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(5)'><div></div></div>
<!-- Kibana search bar -->
<!-- Local nav. -->
<div ng-if="hideRing(5) && !loading" ng-controller="kibanaSearchbar">
<kbn-top-nav name="overview_pm" config="topNavMenu">
<!-- Transcluded elements. -->
<div data-transclude-slots>
<!-- Title. -->
<!-- Search. -->
<div ng-show="chrome.getVisible()" class="fullWidth" data-transclude-slot="bottomRow">
<query-bar
query="state.query"
app-name="'wazuh'"
on-submit="updateQueryAndFetch($query)"
>
</query-bar>
</div>
</div>
</kbn-top-nav>
<!-- Filters. -->
<filter-bar
ng-show="showFilterBar()"
state="state"
index-patterns="indexPattern"
ng-if="state.query.language === 'lucene'"
></filter-bar>
</div>
<!-- No results message -->
<md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels' && hideRing(5)">
<md-card flex layout="column">
<md-card-content style="text-align: center;">
No results for selected time interval
</md-card-content>
</md-card>
</md-content>
<!-- View: Discover -->
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
<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))"
dis-filter="rule.groups:rootcheck"
infinite-scroll="true">
</kbn-disfull>
</md-content>
<!-- View: Panels -->
<div ng-show="hideRing(5) && results && !loading" ng-if="tabView == 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch" style="height: 290px;">
<md-card flex="50" class="wazuh-column">
<md-card-content class="wazuh-column">
<span class="md-headline">Events over time</span>
<kbn-vis vis-id="'Wazuh-App-Overview-PM-Events-over-time'" id="Wazuh-App-Overview-PM-Events-over-time"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wazuh-column">
<md-card-content class="wazuh-column">
<span class="md-headline">Top 5 CIS Requirements</span>
<kbn-vis vis-id="'Wazuh-App-Overview-PM-Top-5-CIS-requirements'" id="Wazuh-App-Overview-PM-Top-5-CIS-requirements"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wazuh-column">
<md-card-content class="wazuh-column">
<span class="md-headline">Top 5 PCI DSS Requirements</span>
<kbn-vis vis-id="'Wazuh-App-Overview-PM-Top-5-PCI-DSS-requirements'" id="Wazuh-App-Overview-PM-Top-5-PCI-DSS-requirements"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" style="height: 240px;">
<md-card flex class="wazuh-column">
<md-card-content class="wazuh-column">
<span class="md-headline">Events per agent evolution</span>
<kbn-vis vis-id="'Wazuh-App-Overview-PM-Events-per-agent-evolution'" id="Wazuh-App-Overview-PM-Events-per-agent-evolution"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" style="height: 530px;" class="wazuh-column">
<md-card flex class="wazuh-column">
<md-card-content class="wazuh-column">
<span class="md-headline">Alerts summary</span>
<kbn-vis vis-id="'Wazuh-App-Overview-PM-Alerts-summary'" id="Wazuh-App-Overview-PM-Alerts-summary"></kbn-vis>
</md-card-content>
</md-card>
</div>
</div>
</md-content>