wazuh-kibana-app/public/templates/agents-audit.html
Juanjo Jiménez 4045278ca4 First approach for CSS reordering
This commit reorders all the CSS from the app, removing the hard-coded one from the templates, and making a first approach of reordering in the `less` folder.
2017-11-23 11:22:27 +01:00

149 lines
7.6 KiB
HTML

<md-content ng-if="tab == 'audit' && _agent" id="agents-audit" ng-controller="auditController">
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(15)'><div></div></div>
<!-- Kibana search bar -->
<!-- Local nav. -->
<div ng-if="hideRing(15) && !loading" ng-controller="kibanaSearchbar">
<kbn-top-nav name="agents_audit" config="topNavMenu">
<div data-transclude-slots>
<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>
<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(15)">
<md-card flex layout="column">
<md-card-content class="agents-audit-no-results">
No results for selected time interval
</md-card-content>
</md-card>
</md-content>
<!-- View: Discover -->
<md-content class="agents-audit-discover" 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))"
dis-filter="rule.groups:audit"
infinite-scroll="true">
</kbn-disfull>
</md-content>
<!-- View: Panels -->
<div flex ng-show="hideRing(15) && results && !loading" ng-if="tabView == 'panels' && !load" class="wazuh-column">
<div layout="row" layout-align="center stretch" class="agents-audit-row-100">
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Agents-Audit-New-files-metric'" id="Wazuh-App-Agents-Audit-New-files-metric"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Agents-Audit-Read-files-metric'" id="Wazuh-App-Agents-Audit-Read-files-metric"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Agents-Audit-Modified-files-metric'" id="Wazuh-App-Agents-Audit-Modified-files-metric"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Agents-Audit-Removed-files-metric'" id="Wazuh-App-Agents-Audit-Removed-files-metric"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="50">
<md-card-content class="wazuh-column agents-audit-center">
<div class="ng-binding">Latest alert</div>
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Agents-Audit-Latest-alert'" id="Wazuh-App-Agents-Audit-Latest-alert"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" class="agents-audit-row-230">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Groups</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Groups'" id="Wazuh-App-Agents-Audit-Groups"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Directories</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Directories'" id="Wazuh-App-Agents-Audit-Directories"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Files</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Files'" id="Wazuh-App-Agents-Audit-Files"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="center stretch" class="agents-audit-row-230">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Alerts over time</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Alerts-over-time'" id="Wazuh-App-Agents-Audit-Alerts-over-time"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div class="agents-audit-row-448" layout="row" layout-align="center stretch">
<div flex="20" layout="column" layout-align="center stretch">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">File read access</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-File-read-access'" id="Wazuh-App-Agents-Audit-File-read-access"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">File write access</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-File-write-access'" id="Wazuh-App-Agents-Audit-File-write-access"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div flex="60" layout="column" layout-align="center stretch">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Commands</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Commands'" id="Wazuh-App-Agents-Audit-Commands"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div flex="20" layout="column" layout-align="center stretch">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Created files</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Created-files'" id="Wazuh-App-Agents-Audit-Created-files"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Removed files</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Removed-files'" id="Wazuh-App-Agents-Audit-Removed-files"></kbn-vis>
</md-card-content>
</md-card>
</div>
</div>
<div layout="row" layout-align="center stretch" class="agents-audit-row-530">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Last alerts</span>
<kbn-vis vis-id="'Wazuh-App-Agents-Audit-Last-alerts'" id="Wazuh-App-Agents-Audit-Last-alerts"></kbn-vis>
</md-card-content>
</md-card>
</div>
</div>
</md-content>