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">
<!-- API down card section -->
<div layout="row" layout-align="start start">
<md-card flex class="wz-md-card">
<md-card-content> <md-card-content>
<span class="wz-headline-title">Wazuh API seems to be down</span> <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> <md-divider class="wz-margin-top-10"></md-divider>
<div layout="column" class="wz-padding-top-10">
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout-padding>
Please, check if Wazuh RESTful API is running with one of the commands below: Please, check if the Wazuh API is running with one of the commands below:
</div> </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>:
</div>
<div layout-padding>
<pre class="json-beautifier"><code># systemctl status wazuh-api</code></pre> <pre class="json-beautifier"><code># systemctl status wazuh-api</code></pre>
</li> </div>
<li>For SysV Init:</li>
<li>
<pre class="json-beautifier"><code># service wazuh-api status</code></pre>
</li>
</ul>
</div> </div>
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout="column">
If the API is&nbsp; <div layout-padding>
<code>active (running)</code> please check its configuration below. 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> </div>
</md-card-content> </md-card-content>
</md-card> </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">
<!-- About card section -->
<div layout="row" layout-align="start start">
<md-card flex class="wz-md-card">
<md-card-content> <md-card-content>
<span class="wz-headline-title">Welcome to the Wazuh App for Kibana 6</span> <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> <md-divider class="wz-margin-top-10"></md-divider>
<div layout="column" class="wz-padding-top-10">
<div layout="row" class="wz-padding-top-10 wz-line-height"> <div layout-padding>
The Wazuh App brings together a new and useful web interface for managing and monitoring your Wazuh infrastructure. You can 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.
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>
<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 layout-padding>
Make use of any or all of these extensions:
</div> </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 layout="row" class="wz-padding-top-10 wz-line-height">
The app joins Wazuh features like:
<strong>&nbsp;Log management and analysis</strong>,
<strong>&nbsp;file integrity monitoring</strong>,
<strong>&nbsp;intrusion and anomaly detection&nbsp;</strong> and
<strong>&nbsp;policy and compliance monitoring.</strong>
</div> </div>
<div layout="row" class="wz-padding-top-10"> <div layout="column">
Help us to improve this app. We would appreciate your feedback. Collaborate with us on the <div layout-padding>
<a href="https://groups.google.com/forum/#!forum/wazuh">&nbsp;mailing lists&nbsp;</a> and/or the Wazuh App The app joins Wazuh features like:
<a href="https://github.com/wazuh/wazuh-kibana-app">&nbsp;Github repository</a>. </div>
<div layout-padding>
<ul class="md-body-1">
<li><strong>Manager and agent groups configurations</strong></li>
<li><strong>Log management and analysis</strong></li>
<li><strong>File integrity monitoring</strong></li>
<li><strong>Intrusion and anomaly detection</strong></li>
<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> </div>
</md-card-content> </md-card-content>
</md-card> <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>