wazuh-kibana-app/public/templates/agents-pm.html

91 lines
4.4 KiB
HTML
Raw Normal View History

2017-11-17 16:02:17 +00:00
<md-content ng-if="tab == 'policy_monitoring' && _agent" id="agents-pm" ng-controller="pmController">
2017-11-17 16:02:17 +00:00
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(4)'><div></div></div>
<!-- Kibana search bar -->
<!-- Local nav. -->
<div ng-if="!loading" ng-controller="kibanaSearchbar">
2017-11-17 16:02:17 +00:00
<kbn-top-nav name="agents_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 -->
2017-11-17 16:02:17 +00:00
<md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels' && hideRing(4)">
<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 -->
2017-11-17 16:02:17 +00:00
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover' && agentInfo.name" >
<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))"
2017-11-17 16:02:17 +00:00
dis-filter="rule.groups:rootcheck"
infinite-scroll="true">
</kbn-disfull>
</md-content>
2017-11-17 16:02:17 +00:00
<!-- View: Panels -->
<div flex ng-show="hideRing(4) && results && !loading" ng-if="tabView == 'panels' && !load" layout="column">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
2017-11-17 16:02:17 +00:00
<md-content layout="row" class="wazuh-row" style="height: 240px;">
<md-card flex="50" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Alerts over time</span>
</md-card-title-text>
</md-card-title>
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Agents-PM-Alerts-over-time'" id="Wazuh-App-Agents-PM-Alerts-over-time"></kbn-vis>
</md-card-content>
</md-card>
2017-11-17 16:02:17 +00:00
<md-card flex="25" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Top 5 CIS Requirements</span>
</md-card-title-text>
</md-card-title>
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Agents-PM-Top-5-CIS-Requirements'" id="Wazuh-App-Agents-PM-Top-5-CIS-Requirements"></kbn-vis>
</md-card-content>
</md-card>
2017-11-17 16:02:17 +00:00
<md-card flex="25" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Top 5 PCI DSS Requirements</span>
</md-card-title-text>
</md-card-title>
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Agents-PM-Top-5-PCI-DSS-Requirements'" id="Wazuh-App-Agents-PM-Top-5-PCI-DSS-Requirements"></kbn-vis>
</md-card-content>
</md-card>
2017-11-17 16:02:17 +00:00
</md-content>
2017-11-17 16:02:17 +00:00
<div layout="row" layout-align="space-between stretch" style="height: 540px;">
<md-card flex="100" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Alerts summary</span>
</md-card-title-text>
</md-card-title>
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Agents-PM-Alerts-summary'" id="Wazuh-App-Agents-PM-Alerts-summary"></kbn-vis>
</md-card-content>
</md-card>
2017-11-17 16:02:17 +00:00
</div>
</div>
</md-content>