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'">
|
2017-11-10 09:29:40 +00:00
|
|
|
<menu-top></menu-top>
|
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>
|
2017-11-28 16:37:31 +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"
|
|
|
|
md-select-on-match="true"
|
|
|
|
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>
|
|
|
|
<md-nav-item ng-hide="agent.os.platform === 'windows'" md-nav-click="switchTab('oscap');" name="oscap" ng-show="extensions.oscap">SCAP</md-nav-item>
|
|
|
|
<md-nav-item ng-hide="agent.os.platform === 'windows'" md-nav-click="switchTab('audit');" name="audit" ng-show="extensions.audit">Audit</md-nav-item>
|
|
|
|
<md-nav-item md-nav-click="switchTab('pci');" name="pci" ng-show="extensions.pci">PCI DSS</md-nav-item>
|
|
|
|
</md-nav-bar>
|
2017-11-20 10:04:46 +00:00
|
|
|
</div>
|
2017-11-27 16:27:07 +00:00
|
|
|
|
2017-11-28 16:37:31 +00:00
|
|
|
<div class="horizontalTabsBar tabView" 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 -->
|
|
|
|
<kbn-dis></kbn-dis>
|
|
|
|
|
|
|
|
<!-- No results message -->
|
|
|
|
<md-content flex layout="row" layout-align="start start" ng-show="resultState === 'none' && tabView === 'panels'">
|
|
|
|
<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>
|