wazuh-kibana-app/public/templates/manager.html

136 lines
5.1 KiB
HTML
Raw Normal View History

2016-07-22 11:34:36 +00:00
<div flex ng-controller="managerController" layout="column">
2016-07-06 06:51:34 +00:00
2016-07-22 13:48:30 +00:00
<md-content class="md-padding">
2016-07-22 11:34:36 +00:00
<md-nav-bar md-selected-nav-item="menuNavItem" nav-bar-aria-label="navigation menu">
2016-07-25 09:41:01 +00:00
<md-nav-item id="header_logo" md-nav-href="#/" name="wazuh" aria-label="img logo">
2016-07-23 01:03:03 +00:00
<img aria-label="Logo image" src="/plugins/wazuh/icon.png" height="44" weight="252"></img>
</md-nav-item>
2016-07-22 11:34:36 +00:00
<md-nav-item md-nav-href="#/manager" name="manager">Manager</md-nav-item>
<md-nav-item md-nav-href="#/agents" name="agents">Agents</md-nav-item>
<md-nav-item md-nav-href="#/ruleset" name="ruleset">Ruleset</md-nav-item>
<md-nav-item md-nav-href="#/fim" name="fim">File integrity</md-nav-item>
2016-07-25 08:43:08 +00:00
<md-nav-item md-nav-href="#/policy_monitoring" name="policy_monitoring">Policy monitoring</md-nav-item>
2016-07-22 11:34:36 +00:00
<md-nav-item md-nav-href="#/settings" name="settings">Settings</md-nav-item>
</md-nav-bar>
</md-content>
2016-06-29 01:43:18 +00:00
2016-07-22 13:48:30 +00:00
<md-content class="md-padding">
2016-07-22 11:34:36 +00:00
<md-nav-bar md-selected-nav-item="submenuNavItem" nav-bar-aria-label="navigation links">
<md-nav-item md-nav-href="#/manager" name="general">General</md-nav-item>
<md-nav-item md-nav-href="#/manager/configuration" name="configuration">Configuration</md-nav-item>
<md-nav-item md-nav-href="#/manager/osseclog" name="logs">Logs</md-nav-item>
</md-nav-bar>
</md-content>
2016-07-25 13:33:17 +00:00
<md-progress-linear md-mode="indeterminate" ng-show="load"></md-progress-linear>
2016-07-22 11:34:36 +00:00
<md-content flex layout="column" ng-if="!load" layout-align="space-around">
<md-content layout-padding flex layout="row" layout-sm="column" layout-xs="column">
2016-07-28 12:45:20 +00:00
<div flex layout="column">
<md-card>
<md-card-content>
<h3>Manager status</h3>
<span layout="column" ng-repeat="daemon in daemons">
<span layout="row" layout-align="space-between center">
<p>{{daemon.daemon}}</p>
<p class="right-text"><div ng-class="getDaemonStatusClass(daemon.status)" class="round"></div></p>
</span>
<md-divider></md-divider>
</span>
</md-card-content>
</md-card>
</div>
2016-07-22 11:34:36 +00:00
<div flex layout="column">
<md-card>
<md-card-content>
<h3>Agents overview</h3>
<md-list>
<md-list-item>
<p>Total agents</p>
<p class="right-text">{{agentsCountTotal}}</p>
</md-list-item>
<md-divider></md-divider>
<md-list-item>
<p>Active</p>
<p class="right-text">{{agentsCountActive}}</p>
</md-list-item>
<md-divider></md-divider>
<md-list-item>
<p>Disconnected</p>
<p class="right-text">{{agentsCountDisconnected}}</p>
</md-list-item>
<md-divider></md-divider>
<md-list-item>
<p>Never connected</p>
<p class="right-text">{{agentsCountNeverConnected}}</p>
</md-list-item>
<md-divider></md-divider>
<md-list-item>
2016-07-28 12:45:20 +00:00
<p>Top reporting agent (Today)</p>
<p class="right-text">{{stats['/top/agent']}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
</md-list>
</md-card-content>
</md-card>
</div>
<div flex layout="column">
<md-card>
<md-card-content>
2016-07-28 12:45:20 +00:00
<h3>Alerts overview (Today stats)</h3>
2016-07-22 11:34:36 +00:00
<md-list>
<md-list-item>
2016-07-28 12:45:20 +00:00
<p>Alerts</p>
<p class="right-text">{{stats['/overview/alerts'].alerts}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
<md-list-item>
<p>Top source ip</p>
2016-07-28 12:45:20 +00:00
<p class="right-text">{{stats['/overview/alerts'].ip}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
<md-list-item>
<p>Top alert group</p>
2016-07-28 12:45:20 +00:00
<p class="right-text">{{stats['/overview/alerts'].group}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
</md-list>
</md-card-content>
</md-card>
</div>
<div flex layout="column">
<md-card>
<md-card-content>
2016-07-28 12:45:20 +00:00
<h3>FIM overview (Today stats)</h3>
2016-07-22 11:34:36 +00:00
<md-list>
<md-list-item>
2016-07-28 12:45:20 +00:00
<p>FIM alerts</p>
<p class="right-text">{{stats['/overview/fim'].alerts}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
<md-list-item>
2016-07-28 12:45:20 +00:00
<p>Most agent FIM changes</p>
<p class="right-text">{{stats['/overview/fim'].agent}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
<md-list-item>
2016-07-28 12:45:20 +00:00
<p>Most file change</p>
<p class="right-text">{{stats['/overview/fim'].file}}</p>
2016-07-22 11:34:36 +00:00
</md-list-item>
<md-divider></md-divider>
</md-list>
</md-card-content>
</md-card>
</div>
</md-content>
</md-content>
2016-07-23 01:03:03 +00:00
</div>