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

111 lines
5.3 KiB
HTML
Raw Normal View History

2017-01-23 13:14:59 +00:00
<md-content flex ng-controller="settingsController" layout="column">
2016-07-22 12:31:39 +00:00
2016-12-27 15:37:52 +00:00
<md-content class="wazuhMenuNavBar" ng-init="menuNavItem = 'settings'" style="height: 70px;">
2016-09-20 08:55:43 +00:00
<md-nav-bar class="wazuhMenuNav" md-selected-nav-item="menuNavItem" nav-bar-aria-label="navigation menu">
<md-nav-item id="header_logo" md-nav-href="#/" name="logo" aria-hidden="true">
<img aria-hidden="true" src="/plugins/wazuh/img/logo_white.png" height="44" weight="252"></img>
</md-nav-item>
<md-nav-item md-nav-href="#/overview" name="overview">Overview</md-nav-item>
<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="#/discover" name="discover">Discover</md-nav-item>
<md-nav-item md-nav-href="#/dashboards" name="dashboards">Dashboards</md-nav-item>
2017-01-03 11:22:17 +00:00
<md-nav-item class="wazuhMenuNavBar_gear" md-nav-href="#/settings" name="settings"><i class="fa fa-cog ng-scope" aria-hidden="true"></i></md-nav-item>
2016-09-20 08:55:43 +00:00
</md-nav-bar>
</md-content>
2016-12-27 15:37:52 +00:00
<div layout="column" layout-align="start stretch">
2016-10-21 19:50:56 +00:00
2016-12-27 15:37:52 +00:00
<md-card layout-padding layout-align="start stretch">
2016-10-21 19:50:56 +00:00
2016-12-27 15:37:52 +00:00
<h1><i class="fa fa-cog ng-scope" aria-hidden="true" style="font-size: 25px;"></i> Wazuh API configuration</h1>
2016-10-25 10:34:04 +00:00
<span layout="row" layout-align="start start">
2016-12-22 19:54:57 +00:00
<p flex="20" style="font-weight: bold;">Manager</p>
<p flex="20" style="font-weight: bold;">API URL</p>
2016-10-25 10:34:04 +00:00
<p flex="20" style="font-weight: bold;">API Port</p>
<p flex="20" style="font-weight: bold;">User</p>
<p flex="20" style="font-weight: bold;">Actions</p>
</span>
2016-10-21 19:50:56 +00:00
2016-10-25 19:03:21 +00:00
<div ng-repeat="entry in apiEntries">
<span layout="row" layout-align="space-between center">
2016-12-22 19:54:57 +00:00
<p flex="20" ><i ng-show="(entry._source.active == 'true')" tooltip="Set as default Manager" class="fa fa-star" aria-hidden="true" style="color: #f39c12; font-size: 18px;"></i> {{entry._source.manager}}</p>
<p flex="20" >{{entry._source.url}}</p>
2016-10-25 19:03:21 +00:00
<p flex="20" >{{entry._source.api_port}}</p>
<p flex="20" >{{entry._source.api_user}}</p>
<p flex="20" >
2016-10-26 01:01:33 +00:00
<i ng-click="setDefault(entry)" tooltip="Set as default Manager" class="fa fa-star" aria-hidden="true" style="font-size: 18px;"></i>
2016-10-25 19:03:21 +00:00
<i ng-click="removeManager(entry)" tooltip="Remove manager" class="fa fa-trash" aria-hidden="true" style="margin-left: 7px;font-size: 18px;"></i>
</p>
</span>
2016-10-25 10:34:04 +00:00
2016-10-25 19:03:21 +00:00
<md-divider></md-divider>
</div>
2017-01-23 13:14:59 +00:00
<div layout="row" layout-align="center center">
<md-button flex="15" ng-click="addManagerContainer = !addManagerContainer" type="submit" class="buttonBlueLight md-raised md-primary"><i class="fa fa-plus-circle" aria-hidden="true" style="font-size: 15px;"></i> Add new API</md-button>
</div>
2016-10-21 19:50:56 +00:00
2016-12-27 15:37:52 +00:00
<form flex ng-submit="processForm()" layout="column" layout-align="start stretch" ng-show="addManagerContainer" style="margin-top: 30px; ">
<md-input-container>
<label>Username</label>
2017-01-23 13:14:59 +00:00
<input placeholder="" type="text" ng-model="formData.user" aria-label="username" required></input>
2016-10-21 19:50:56 +00:00
</md-input-container>
<md-input-container>
2016-12-22 19:54:57 +00:00
<label>Password</label>
2017-01-23 13:14:59 +00:00
<input placeholder="" type="password" ng-model="formData.password" aria-label="password" required></input>
2016-10-21 19:50:56 +00:00
</md-input-container>
<md-input-container>
2016-12-22 19:54:57 +00:00
<label>URL</label>
2017-01-23 13:14:59 +00:00
<input placeholder="https://" ng-model="formData.url" type="url" aria-label="full url" required></input>
2016-10-25 19:03:21 +00:00
</md-input-container>
<md-input-container>
2016-12-22 19:54:57 +00:00
<label>Port</label>
2017-01-23 13:14:59 +00:00
<input placeholder="" ng-model="formData.port" type="text" aria-label="port" required></input>
2016-10-21 19:50:56 +00:00
</md-input-container>
2017-01-23 13:14:59 +00:00
<div layout="row" layout-align="center center">
<md-button flex="15" type="submit" class="buttonBlueLight md-raised md-primary"><i class="fa fa-plus-circle" aria-hidden="true" style="font-size: 13px; margin-right: 5px; "></i>SAVE</md-button>
</div>
2016-10-21 19:50:56 +00:00
</form>
</md-card>
2017-01-23 13:14:59 +00:00
<md-card flex layout-padding layout-align="start stretch">
<h1><i class="fa fa-cog ng-scope" aria-hidden="true" style="font-size: 25px;"></i> Wazuh App: Extensions</h1>
<p flex>Enable or disable extensions according to your needs. The extension includes: Panels, discover and dashboards, for agents / overview.</p>
<div>
<span layout="row" layout-align="space-between center" style="font-weight: bold">
OpenSCAP
</span>
<span>
OVAL (Open Vulnerability Assessment Language) interpreter used to check system configuration and detect vulnerable applications. It is recognized as a standardized compliance and hardening checking solution for enterprise-level infrastructure.
</span>
<span>
<md-switch flex ng-model="extensions.oscap" aria-label="extensionsOscap" ng-change="onChange(extensions.oscap)"></md-switch>
</span>
<md-divider></md-divider>
</div>
<div>
<span layout="row" layout-align="space-between center" style="font-weight: bold">
Audit
</span>
<span>
The Linux Audit system provides a way to track security-relevant information on your system. Based on pre-configured rules, Audit generates log entries to record as much information about the events that are happening on your system as possible.
</span>
<span layout="row" layout-align="space-between center">
<md-switch flex ng-model="extensions.audit" aria-label="extensionsAudit" ng-change="onChange(extensions.audit)"></md-switch>
</span>
</div>
</md-card>
2016-10-21 19:50:56 +00:00
</div>
2016-06-29 01:43:18 +00:00
2016-09-20 08:55:43 +00:00
</md-content>