2017-11-16 17:30:08 +00:00
|
|
|
<md-content ng-if="submenuNavItem == 'overview' && agentInfo" ng-controller="agentsOverviewController" class="app-container wazuh-column">
|
|
|
|
|
|
|
|
<!--<div class='uil-ring-css' ng-if="tabView == 'panels'">
|
|
|
|
<div></div>
|
|
|
|
</div>-->
|
|
|
|
|
2017-02-13 19:58:44 +00:00
|
|
|
<!-- Kibana search bar -->
|
2017-11-16 17:30:08 +00:00
|
|
|
<!-- Local nav. -->
|
|
|
|
<div ng-if="!loading" ng-controller="kibanaSearchbar">
|
|
|
|
<kbn-top-nav name="agents_fim" 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>
|
|
|
|
|
|
|
|
|
|
|
|
<div ng-show='!loading' ng-if="tabView == 'panels'">
|
2017-10-09 15:49:10 +00:00
|
|
|
<md-content layout="row">
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card flex layout="column">
|
2017-01-30 15:55:55 +00:00
|
|
|
<md-card-content style="text-align: center;">
|
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{agentInfo.name}}</div>
|
|
|
|
<div class="ng-binding">Name</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card flex="10" layout="column">
|
2017-01-30 15:55:55 +00:00
|
|
|
<md-card-content style="text-align: center;">
|
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{agentInfo.ip}}</div>
|
|
|
|
<div class="ng-binding">IP Address</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card flex="10" layout="column">
|
2017-01-30 15:55:55 +00:00
|
|
|
<md-card-content style="text-align: center;">
|
2017-08-10 14:34:37 +00:00
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{ agentInfo.version | limitTo: 12 }}{{agentInfo.version.length > 12 ? '...' : ''}}</div>
|
|
|
|
<md-tooltip md-direction="bottom">{{ agentInfo.version }}</md-tooltip>
|
2017-01-30 15:55:55 +00:00
|
|
|
<div class="ng-binding">Version</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
|
|
|
<md-card flex layout="column">
|
|
|
|
<md-card-content style="text-align: center;">
|
2017-10-11 12:12:05 +00:00
|
|
|
<div class="metric-value legend-value-title ng-binding legend-value-truncate" style="font-size: 14pt;">{{ agentOs }}</div>
|
2017-08-10 14:34:37 +00:00
|
|
|
<md-tooltip md-direction="bottom">{{ agentOs }}</md-tooltip>
|
2017-04-25 12:29:44 +00:00
|
|
|
<div class="ng-binding">OS</div>
|
2017-01-30 15:55:55 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-08-13 22:40:58 +00:00
|
|
|
</md-content>
|
2017-10-09 15:49:10 +00:00
|
|
|
<md-content layout="row">
|
2017-01-30 15:55:55 +00:00
|
|
|
<md-card flex layout="column" ng-show="agentInfo.id != '000'">
|
|
|
|
<md-card-content style="text-align: center;">
|
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{agentInfo.lastKeepAlive}}</div>
|
|
|
|
<div class="ng-binding">Last keep alive</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-04-25 12:29:44 +00:00
|
|
|
<md-card flex layout="column">
|
|
|
|
<md-card-content style="text-align: center;">
|
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{agentInfo.dateAdd}}</div>
|
|
|
|
<div class="ng-binding">Registration date</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
|
|
|
<md-card flex layout="column">
|
|
|
|
<md-card-content style="text-align: center;">
|
2017-08-16 14:14:06 +00:00
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{agentInfo.syscheck.end}}</div>
|
2017-04-25 12:29:44 +00:00
|
|
|
<md-tooltip md-direction="bottom">
|
2017-11-16 17:30:08 +00:00
|
|
|
Start time: {{ agentInfo.syscheck.start }}
|
|
|
|
<br> End time: {{ agentInfo.syscheck.end }}
|
|
|
|
<br> Duration time: {{ agentInfo.syscheck.duration }} minutes
|
2017-04-25 12:29:44 +00:00
|
|
|
</md-tooltip>
|
|
|
|
<div class="ng-binding">Last syscheck scan</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
|
|
|
<md-card flex layout="column">
|
|
|
|
<md-card-content style="text-align: center;">
|
2017-08-16 14:14:06 +00:00
|
|
|
<div class="metric-value ng-binding" style="font-size: 14pt;">{{agentInfo.rootcheck.end}}</div>
|
2017-04-25 12:29:44 +00:00
|
|
|
<md-tooltip md-direction="bottom">
|
2017-11-16 17:30:08 +00:00
|
|
|
Start time: {{ agentInfo.rootcheck.start }}
|
|
|
|
<br> End time: {{ agentInfo.rootcheck.end }}
|
|
|
|
<br> Duration time: {{ agentInfo.rootcheck.duration }} minutes
|
2017-04-25 12:29:44 +00:00
|
|
|
</md-tooltip>
|
|
|
|
<div class="ng-binding">Last rootcheck scan</div>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
|
|
|
</md-content>
|
|
|
|
</div>
|
2017-08-13 22:40:58 +00:00
|
|
|
|
2017-04-25 12:29:44 +00:00
|
|
|
<!-- No results message -->
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels'">
|
2017-04-25 12:29:44 +00:00
|
|
|
<md-card flex layout="column">
|
|
|
|
<md-card-content style="text-align: center;">
|
|
|
|
No results for selected time interval
|
|
|
|
</md-card-content>
|
2017-08-13 22:40:58 +00:00
|
|
|
</md-card>
|
|
|
|
</md-content>
|
|
|
|
|
2017-04-25 12:29:44 +00:00
|
|
|
<!-- View: Discover -->
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover' && agentInfo.name">
|
2017-04-25 12:29:44 +00:00
|
|
|
<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-16 17:30:08 +00:00
|
|
|
infinite-scroll="true">
|
2017-04-25 12:29:44 +00:00
|
|
|
</kbn-disfull>
|
|
|
|
</md-content>
|
|
|
|
|
|
|
|
<!-- View: Panels -->
|
2017-11-16 17:30:08 +00:00
|
|
|
<div ng-show='results' ng-if="tabView == 'panels' && !loading">
|
|
|
|
|
|
|
|
<div layout="row" layout-align="center stretch" class="wazuh-row" style="height: 174px;">
|
|
|
|
<md-card flex="50" class="wazuh-row">
|
2017-10-20 20:37:42 +00:00
|
|
|
<md-card-title>
|
|
|
|
<md-card-title-text>
|
|
|
|
<span class="md-headline">Top 5 alerts</span>
|
|
|
|
</md-card-title-text>
|
|
|
|
</md-card-title>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Top-5-alerts'" id="Wazuh-App-Agents-Overview-Top-5-alerts"></kbn-vis>
|
2017-10-20 20:37:42 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card flex="50" class="wazuh-row">
|
2017-10-20 20:37:42 +00:00
|
|
|
<md-card-title>
|
|
|
|
<md-card-title-text>
|
|
|
|
<span class="md-headline">Top 5 groups</span>
|
|
|
|
</md-card-title-text>
|
|
|
|
</md-card-title>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Top-5-groups'" id="Wazuh-App-Agents-Overview-Top-5-groups"></kbn-vis>
|
2017-10-20 20:37:42 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="center stretch" class="wazuh-row" style="height: 170px;">
|
|
|
|
<md-card flex="50" class="wazuh-row">
|
2017-10-20 20:37:42 +00:00
|
|
|
<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-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Top-5-PCI-DSS-Requirements'" id="Wazuh-App-Agents-Overview-Top-5-PCI-DSS-Requirements"></kbn-vis>
|
2017-10-20 20:37:42 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card flex="50" class="wazuh-row visBox-alert-level-evolution">
|
2017-10-20 20:37:42 +00:00
|
|
|
<md-card-title>
|
|
|
|
<md-card-title-text>
|
|
|
|
<span class="md-headline">Alert level evolution</span>
|
|
|
|
</md-card-title-text>
|
|
|
|
</md-card-title>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Alert-level-evolution'" id="Wazuh-App-Agents-Overview-Alert-level-evolution"></kbn-vis>
|
2017-10-20 20:37:42 +00:00
|
|
|
</md-card-content>
|
2017-01-30 15:55:55 +00:00
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center stretch" class="wazuh-row" style="height: 170px;">
|
|
|
|
<md-card flex class="wazuh-row">
|
2016-09-02 10:10:10 +00:00
|
|
|
<md-card-title>
|
|
|
|
<md-card-title-text>
|
2017-01-25 20:33:44 +00:00
|
|
|
<span class="md-headline">Alerts</span>
|
2016-09-02 10:10:10 +00:00
|
|
|
</md-card-title-text>
|
|
|
|
</md-card-title>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Alerts'" id="Wazuh-App-Agents-Overview-Alerts"></kbn-vis>
|
2016-09-02 10:10:10 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div layout="row" layout-align="center stretch" class="wazuh-row" style="height: 480px;">
|
|
|
|
<md-card flex="60" class="wazuh-row">
|
2016-09-02 10:10:10 +00:00
|
|
|
<md-card-title>
|
|
|
|
<md-card-title-text>
|
2017-01-25 20:33:44 +00:00
|
|
|
<span class="md-headline">Alerts summary</span>
|
2016-09-02 10:10:10 +00:00
|
|
|
</md-card-title-text>
|
|
|
|
</md-card-title>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Alerts-summary'" id="Wazuh-App-Agents-Overview-Alerts-summary"></kbn-vis>
|
2017-03-07 16:53:38 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card flex="40" class="wazuh-row">
|
2017-03-07 16:53:38 +00:00
|
|
|
<md-card-title>
|
|
|
|
<md-card-title-text>
|
|
|
|
<span class="md-headline">Groups summary</span>
|
|
|
|
</md-card-title-text>
|
|
|
|
</md-card-title>
|
2017-11-16 17:30:08 +00:00
|
|
|
<md-card-content class="wazuh-row">
|
|
|
|
<kbn-vis vis-id="'Wazuh-App-Agents-Overview-Groups-summary'" id="Wazuh-App-Agents-Overview-Groups-summary"></kbn-vis>
|
2016-09-02 10:10:10 +00:00
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2017-11-16 17:30:08 +00:00
|
|
|
</div>
|
2016-09-02 10:10:10 +00:00
|
|
|
</div>
|
2017-11-16 17:30:08 +00:00
|
|
|
</md-content>
|