2017-01-16 12:29:48 +00:00
|
|
|
<div flex ng-controller="agentsController" layout="column">
|
2017-11-27 16:27:07 +00:00
|
|
|
|
2017-12-18 11:07:42 +00:00
|
|
|
<md-content class="wazuhMenuNavBar height-70" ng-init="menuNavItem = 'agents'">
|
2018-02-15 12:18:37 +00:00
|
|
|
<wz-menu></wz-menu>
|
2017-11-27 17:31:09 +00:00
|
|
|
</md-content>
|
2016-09-02 10:10:10 +00:00
|
|
|
|
2017-12-18 14:06:37 +00:00
|
|
|
<div layout="row" layout-align="space-between start" class="background-f7">
|
2017-12-18 11:07:42 +00:00
|
|
|
<md-toolbar class="height-50">
|
2017-11-28 16:37:31 +00:00
|
|
|
<div class="md-toolbar-tools" layout="row" layout-align="space-between center">
|
2017-12-12 15:55:37 +00:00
|
|
|
<div class="agents-head-1" ng-if="agent">
|
|
|
|
<div class="agents-head-2">
|
|
|
|
<span> <i class="fa fa-desktop agents-head-3" aria-hidden="true"></i>
|
2018-01-05 19:06:04 +00:00
|
|
|
{{agent.id}} - {{agent.name}}</span> <span ng-show="agent.id === '000'">(Manager)</span>
|
2016-12-09 19:39:43 +00:00
|
|
|
</div>
|
2017-11-27 17:31:09 +00:00
|
|
|
|
2017-12-12 15:55:37 +00:00
|
|
|
<div class="agents-head-4">
|
|
|
|
<span ng-show="agent.status" class="agents-head-5" ng-class="getAgentStatusClass(agent.status)">{{formatAgentStatus(agent.status)}}</span>
|
2017-11-20 10:04:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-12-18 11:07:42 +00:00
|
|
|
|
|
|
|
<span layout="row" class="padding-left-0" layout-align="space-between start" flex="40">
|
|
|
|
<md-autocomplete id="agentsAutocomplete" flex
|
|
|
|
md-no-cache="true"
|
2018-01-22 15:57:36 +00:00
|
|
|
md-select-on-match="false"
|
2017-12-18 11:07:42 +00:00
|
|
|
md-selected-item="_swpagent"
|
|
|
|
md-selected-item-change="getAgent(_swpagent.id)"
|
|
|
|
md-search-text="searchTerm"
|
|
|
|
md-items="agentAutoComplete in analizeAgents(searchTerm)"
|
|
|
|
md-item-text="agentAutoComplete.name"
|
|
|
|
md-min-length="0"
|
|
|
|
md-no-asterisk="false"
|
|
|
|
md-menu-class="autocomplete-custom-agents-bar"
|
|
|
|
md-search-text-change="analizeAgents(searchTerm)"
|
|
|
|
placeholder="Search by name, ID or IP address"
|
2017-12-12 16:07:14 +00:00
|
|
|
lazy-load-data="agentsAutoComplete.nextPage('')">
|
2017-11-28 16:37:31 +00:00
|
|
|
<md-item-template>
|
|
|
|
<span class="item-title">
|
2017-11-29 10:02:34 +00:00
|
|
|
<span><strong md-highlight-text="search" md-highlight-flags="i"> {{agentAutoComplete.name}} ({{agentAutoComplete.id}}) </strong></span>
|
2017-11-28 16:37:31 +00:00
|
|
|
</span>
|
|
|
|
<span class="item-metadata">
|
2017-11-29 10:02:34 +00:00
|
|
|
<span class="item-metastat" md-highlight-text="searchTerm" md-highlight-flags="i"> {{agentAutoComplete.ip}} ({{agentAutoComplete.status}}) </span>
|
2017-11-28 16:37:31 +00:00
|
|
|
</span>
|
|
|
|
</md-item-template>
|
|
|
|
<md-not-found>
|
|
|
|
No agents matching "{{searchTerm}}" were found.
|
|
|
|
</md-not-found>
|
|
|
|
</md-autocomplete>
|
|
|
|
</span>
|
2017-11-20 10:04:46 +00:00
|
|
|
</div>
|
2017-11-28 16:37:31 +00:00
|
|
|
</md-toolbar>
|
|
|
|
</div>
|
2017-11-27 17:31:09 +00:00
|
|
|
|
2017-11-28 16:37:31 +00:00
|
|
|
<div layout="row" layout-align="space-between start" class="horizontalTabsBar">
|
|
|
|
<div class="horizontalTabsBar" layout="column" layout-align="center start">
|
2017-12-18 11:07:42 +00:00
|
|
|
<md-nav-bar class="padding-right-0" md-selected-nav-item="tab" nav-bar-aria-label="navigation submenu">
|
2017-11-28 16:37:31 +00:00
|
|
|
<md-nav-item md-nav-click="switchTab('general')" name="general">General</md-nav-item>
|
|
|
|
<md-nav-item md-nav-click="switchTab('fim');" name="fim">File Integrity</md-nav-item>
|
|
|
|
<md-nav-item md-nav-click="switchTab('pm');" name="pm">Policy Monitoring</md-nav-item>
|
2018-01-30 14:50:02 +00:00
|
|
|
<md-nav-item md-nav-click="switchTab('vuls');" name="vuls">Vulnerabilities</md-nav-item>
|
2018-01-17 10:44:17 +00:00
|
|
|
<md-nav-item md-nav-click="switchTab('oscap');" name="oscap" ng-show="extensions.oscap && agent.os.platform !== 'windows'">SCAP</md-nav-item>
|
|
|
|
<md-nav-item md-nav-click="switchTab('audit');" name="audit" ng-show="extensions.audit && agent.os.platform !== 'windows'">Audit</md-nav-item>
|
2017-11-28 16:37:31 +00:00
|
|
|
<md-nav-item md-nav-click="switchTab('pci');" name="pci" ng-show="extensions.pci">PCI DSS</md-nav-item>
|
2018-01-23 12:00:06 +00:00
|
|
|
<md-nav-item md-nav-click="switchTab('virustotal');" name="virustotal" ng-show="extensions.virustotal">VirusTotal</md-nav-item>
|
2018-01-08 14:55:25 +00:00
|
|
|
<md-nav-item md-nav-click="switchTab('configuration');" name="configuration" ng-show="agent.id != '000'">Configuration</md-nav-item>
|
2017-11-28 16:37:31 +00:00
|
|
|
</md-nav-bar>
|
2017-11-20 10:04:46 +00:00
|
|
|
</div>
|
2017-11-27 16:27:07 +00:00
|
|
|
|
2018-02-26 11:25:02 +00:00
|
|
|
<div ng-show="tab != 'configuration'" class="horizontalTabsBar" layout="column" layout-align="end end">
|
2017-12-18 11:07:42 +00:00
|
|
|
<md-nav-bar layout-align="end end" class="padding-right-0" md-selected-nav-item="tabView" nav-bar-aria-label="navigation submenu">
|
2017-11-28 16:37:31 +00:00
|
|
|
<md-nav-item md-nav-click="switchSubtab('panels')" name="panels">
|
2017-12-12 15:55:37 +00:00
|
|
|
<i class="fa fa-th agents-head-6" aria-hidden="true"></i>Panels
|
2017-11-28 16:37:31 +00:00
|
|
|
</md-nav-item>
|
|
|
|
<md-nav-item md-nav-click="switchSubtab('discover')" name="discover">
|
2017-12-12 15:55:37 +00:00
|
|
|
<img class="agents-head-7" kbn-src="/plugins/wazuh/img/discover.svg">Discover
|
2017-11-28 16:37:31 +00:00
|
|
|
</md-nav-item>
|
|
|
|
</md-nav-bar>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
|
2017-11-27 16:27:07 +00:00
|
|
|
|
2017-11-28 16:37:31 +00:00
|
|
|
<!-- View: Discover -->
|
2018-01-05 19:06:04 +00:00
|
|
|
<kbn-dis ng-show="tab != 'configuration'"></kbn-dis>
|
2017-11-28 16:37:31 +00:00
|
|
|
|
2018-01-14 13:07:02 +00:00
|
|
|
<div class="wazuh-loading" layout="column" layout-aling="center center" ng-show="resultState === 'ready' && tabView === 'panels' && tab !== 'configuration' && !rendered">
|
|
|
|
<div class="percentage"><i class="fa fa-spinner fa-spin fa-fw" aria-hidden="true"></i></div>
|
|
|
|
<div class="percentage">{{loadingStatus}}</div>
|
2018-01-12 19:37:30 +00:00
|
|
|
</div>
|
2018-01-23 11:39:30 +00:00
|
|
|
|
2017-11-28 16:37:31 +00:00
|
|
|
<!-- No results message -->
|
2018-01-14 13:07:02 +00:00
|
|
|
<md-content flex layout="row" layout-align="start start" ng-show="tab != 'configuration' && resultState !== 'ready' && tabView === 'panels'">
|
2017-11-28 16:37:31 +00:00
|
|
|
<md-card flex layout="column">
|
2017-12-19 13:53:40 +00:00
|
|
|
<md-card-content class="text-center">
|
2017-11-28 16:37:31 +00:00
|
|
|
No results for selected time interval
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
|
|
|
</md-content>
|