Refactored first use and API down cards in Settings

This commit is contained in:
Juanjo Jiménez 2018-06-13 13:05:25 +02:00 committed by Javier Castro
parent 48b9a0c5e4
commit af0a1f1a40
2 changed files with 102 additions and 61 deletions

View File

@ -1,28 +1,44 @@
<md-card class="wz-md-card" layout-padding layout-align="start stretch" ng-if="apiIsDown"> <div layout="column" layout-align="start stretch" ng-if="!load && apiIsDown">
<md-card-content>
<span class="wz-headline-title">Wazuh API seems to be down</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <!-- API down card section -->
Please, check if Wazuh RESTful API is running with one of the commands below: <div layout="row" layout-align="start start">
</div> <md-card flex class="wz-md-card">
<md-card-content>
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i> <span class="wz-headline-title">The Wazuh API seems to be down</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="column" class="wz-padding-top-10">
<div layout-padding>
Please, check if the Wazuh API is running with one of the commands below:
</div>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout="row">
<ul> <div layout="column">
<li>For Systemd:</li> <div layout-padding>
<li> For <strong>systemd</strong>:
<pre class="json-beautifier"><code># systemctl status wazuh-api</code></pre> </div>
</li>
<li>For SysV Init:</li>
<li>
<pre class="json-beautifier"><code># service wazuh-api status</code></pre>
</li>
</ul>
</div>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout-padding>
If the API is&nbsp; <pre class="json-beautifier"><code># systemctl status wazuh-api</code></pre>
<code>active (running)</code> please check its configuration below. </div>
</div> </div>
</md-card-content>
</md-card> <div layout="column">
<div layout-padding>
For <strong>SysV Init</strong>:
</div>
<div layout-padding>
<pre class="json-beautifier"><code># service wazuh-api status</code></pre>
</div>
</div>
</div>
<div layout-padding>
If the API is <strong>active (running)</strong>, please check the credentials below.
</div>
</div>
</md-card-content>
</md-card>
</div>
<!-- End API down card section -->
</div>

View File

@ -1,41 +1,66 @@
<md-card class="wz-md-card" layout-padding layout-align="start stretch" ng-if="submenuNavItem == 'api' && !load && apiEntries.length == 0"> <div layout="column" layout-align="start stretch" ng-if="tab === 'api' && !load && apiEntries.length === 0">
<md-card-content>
<span class="wz-headline-title">Welcome to the Wazuh App for Kibana 6</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <!-- About card section -->
The Wazuh App brings together a new and useful web interface for managing and monitoring your Wazuh infrastructure. You can <div layout="row" layout-align="start start">
check agent status, alert evolution, most recent events, popular alerts, top alert groups, etc. You can also <md-card flex class="wz-md-card">
display configuration and logs of the manager. <md-card-content>
</div> <i class="fa fa-fw fa-info-circle" aria-hidden="true"></i> <span class="wz-headline-title">Welcome to the Wazuh app for Kibana 6</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="column" class="wz-padding-top-10">
<div layout-padding>
The Wazuh App brings together a new and useful web interface for managing and monitoring your Wazuh infrastructure. You can check agent status, alert evolution, most recent events, popular alerts, top alert groups, etc. You can also display configuration and logs of the manager.
</div>
<div layout="row" class="wz-padding-top-10"> <div layout="row">
In addition, make use of any or all of these extensions: <div layout="column">
</div> <div layout-padding>
Make use of any or all of these extensions:
</div>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout-padding>
<ul> <ul class="md-body-1">
<li>Linux Audit system integration</li> <li><strong>Linux Audit system integration</strong></li>
<li>PCI DSS Compliance</li> <li><strong>PCI DSS Compliance</strong></li>
<li>GDPR Compliance</li> <li><strong>GDPR Compliance</strong></li>
<li>OpenSCAP security compliance and vulnerability assessments</li> <li><strong>OpenSCAP security compliance and vulnerability assessments</strong></li>
<li>Amazon Web Services (AWS) integration</li> <li><strong>Amazon Web Services (AWS) integration</strong></li>
<li>VirusTotal integration</li> <li><strong>VirusTotal integration</strong></li>
</ul> </ul>
</div> </div>
</div>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout="column">
The app joins Wazuh features like: <div layout-padding>
<strong>&nbsp;Log management and analysis</strong>, The app joins Wazuh features like:
<strong>&nbsp;file integrity monitoring</strong>, </div>
<strong>&nbsp;intrusion and anomaly detection&nbsp;</strong> and
<strong>&nbsp;policy and compliance monitoring.</strong>
</div>
<div layout="row" class="wz-padding-top-10"> <div layout-padding>
Help us to improve this app. We would appreciate your feedback. Collaborate with us on the <ul class="md-body-1">
<a href="https://groups.google.com/forum/#!forum/wazuh">&nbsp;mailing lists&nbsp;</a> and/or the Wazuh App <li><strong>Manager and agent groups configurations</strong></li>
<a href="https://github.com/wazuh/wazuh-kibana-app">&nbsp;Github repository</a>. <li><strong>Log management and analysis</strong></li>
</div> <li><strong>File integrity monitoring</strong></li>
</md-card-content> <li><strong>Intrusion and anomaly detection</strong></li>
</md-card> <li><strong>Policy and compliance monitoring</strong></li>
<li><strong>Wazuh cluster nodes monitoring</strong></li>
</ul>
</div>
</div>
</div>
<div layout-padding>
Help us to improve this app. We would appreciate your feedback. Collaborate with us on the links below.
</div>
</div>
</md-card-content>
<md-card-actions layout="row" layout-align="end center" class="wz-card-actions">
<md-button target="_blank" href="https://groups.google.com/forum/#!forum/wazuh" class="wz-text-link cursor-pointer small" aria-label="Open Wazuh mailing list">
<i class="fa fa-fw fa-info" aria-hidden="true"></i> Mailing list
</md-button>
<md-button target="_blank" href="https://github.com/wazuh/wazuh-kibana-app" class="wz-text-link cursor-pointer small" aria-label="Open Wazuh Kibana app repository">
<i class="fa fa-fw fa-info" aria-hidden="true"></i> GitHub repository
</md-button>
</md-card-actions>
</md-card>
</div>
<!-- End about card section -->
</div>