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

209 lines
10 KiB
HTML

<md-content flex layout="column" ng-if="tab == 'audit'" ng-controller="overviewAuditController" class="app-container wazuh-column" layout-align="space-around">
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(11)'><div></div></div>
<!-- Kibana search bar -->
<!-- Local nav. -->
<div ng-if="hideRing(11) && !loading" ng-controller="kibanaSearchbar">
<kbn-top-nav name="overview_audit" 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(11)">
<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:audit"
infinite-scroll="true">
</kbn-disfull>
</md-content>
<!-- View: Panels -->
<div ng-show="hideRing(11) && results && !loading" ng-if="tabView == 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch" style="height: 100px;">
<md-card flex="10" class="wazuh-column">
<md-card-content class="wazuh-column metric">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-New-files'" id="Wazuh-App-Overview-Audit-New-files"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="10" class="wazuh-column">
<md-card-content class="metric wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Read-files'" id="Wazuh-App-Overview-Audit-Read-files"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="10" class="wazuh-column">
<md-card-content class="metric wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Modified-files'" id="Wazuh-App-Overview-Audit-Modified-files"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="10" class="wazuh-column">
<md-card-content class="metric wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Removed-files'" id="Wazuh-App-Overview-Audit-Removed-files"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="60" class="wazuh-column" layout-align="center center">
<md-card-content style="text-align: center;" class="wazuh-column">
<div class="ng-binding">Latest alert</div>
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-Audit-Latest-alert'" id="Wazuh-App-Overview-Audit-Latest-alert"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" style="height: 200px;">
<md-card flex="25" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Groups</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Groups'" id="Wazuh-App-Overview-Audit-Groups"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Agents</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Agents'" id="Wazuh-App-Overview-Audit-Agents"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Directories</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Directories'" id="Wazuh-App-Overview-Audit-Directories"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="25" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Files</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Files'" id="Wazuh-App-Overview-Audit-Files"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" style="height: 310px;">
<md-card 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>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Alerts-over-time'" id="Wazuh-App-Overview-Audit-Alerts-over-time"></kbn-vis>
</md-card-content>
</md-card>
</div>
<md-content style="height: 448px" layout="row" layout-align="center stretch">
<md-content flex="20" layout="column" layout-align="center stretch" class="wazuh-column">
<md-card flex="50" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">File read access</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-File-read-access'" id="Wazuh-App-Overview-Audit-File-read-access"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="50" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">File write access</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-File-write-access'" id="Wazuh-App-Overview-Audit-File-write-access"></kbn-vis>
</md-card-content>
</md-card>
</md-content>
<md-content flex="60" layout="column" layout-align="center stretch" class="wazuh-column">
<md-card flex="100" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Commands</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Commands'" id="Wazuh-App-Overview-Audit-Commands"></kbn-vis>
</md-card-content>
</md-card>
</md-content>
<md-content flex="20" layout="column" layout-align="center stretch" class="wazuh-column">
<md-card flex="50" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Created files</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Files-created'" id="Wazuh-App-Overview-Audit-Files-created"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="50" class="wazuh-column">
<md-card-title>
<md-card-title-text>
<span class="md-headline">Removed files</span>
</md-card-title-text>
</md-card-title>
<md-card-content class="wazuh-column">
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Files-deleted'" id="Wazuh-App-Overview-Audit-Files-deleted"></kbn-vis>
</md-card-content>
</md-card>
</md-content>
</md-content>
<div layout-align="center stretch" style="height: 530px;" class="wazuh-column">
<md-card class="wazuh-column">
<md-card-content class="wazuh-column">
<span class="md-headline">Last alerts</span>
<kbn-vis vis-id="'Wazuh-App-Overview-Audit-Last-alerts'" id="Wazuh-App-Overview-Audit-Last-alerts"></kbn-vis>
</md-card-content>
</md-card>
</div>
</div>
</md-content>