mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Merge pull request #1123 from wazuh/issue-1114
Added Audit keys configuration
This commit is contained in:
commit
c3acafbe54
@ -0,0 +1,44 @@
|
||||
<!-- No configuration section -->
|
||||
<wz-no-config
|
||||
flex
|
||||
error="'not-present'"
|
||||
ng-if="configurationSubTab === 'fim-whodata' && currentConfig && currentConfig['syscheck-syscheck'] && currentConfig['syscheck-syscheck'].syscheck && !currentConfig['syscheck-syscheck'].syscheck.ignore"></wz-no-config>
|
||||
<!-- End no configuration section -->
|
||||
|
||||
<!-- Who-data card -->
|
||||
<md-card class="wz-md-card" ng-if="!JSONContent && !XMLContent && configurationSubTab === 'fim-whodata' && currentConfig && currentConfig['syscheck-syscheck'] && currentConfig['syscheck-syscheck'].syscheck && currentConfig['syscheck-syscheck'].syscheck.ignore">
|
||||
<md-card-content>
|
||||
<div layout="row" layout-align="start center">
|
||||
<div>
|
||||
<span class="font-size-16">Who-data audit keys</span>
|
||||
<div class="wz-margin-top-10">
|
||||
<span class="md-subheader small">Wazuh will include in its FIM baseline those events being monitored by Audit using audit_key.</span>
|
||||
</div>
|
||||
</div>
|
||||
<span flex></span>
|
||||
<span ng-class="JSONContent ? 'wz-text-active' : ''" class="wz-text-link small" ng-click="getJSON()">JSON</span>
|
||||
<span class="small"> · </span>
|
||||
<span ng-class="XMLContent ? 'wz-text-active' : ''" class="wz-text-link small" ng-click="getXML()">XML</span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- Configuration block -->
|
||||
<div class="wz-padding-top-10" ng-show="currentConfig['syscheck-syscheck'].syscheck.whodata">
|
||||
<table class="table table-striped table-condensed" style="table-layout: fixed !important;">
|
||||
<thead class="wz-text-bold">
|
||||
<th class="wz-text-left">Keys</th>
|
||||
</thead>
|
||||
<tbody class="wz-word-wrap">
|
||||
<tr ng-repeat="auditkey in currentConfig['syscheck-syscheck'].syscheck.whodata.audit_key">
|
||||
<td>{{auditkey}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="wz-padding-top-10" ng-show="!currentConfig['syscheck-syscheck'].syscheck.whodata">
|
||||
<i class="fa fa-fw fa-info-circle" aria-hidden="true"></i> No audit keys were found. Visit the documentation on <a href="https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/syscheck.html#whodata">this link</a> to enable it.
|
||||
</div>
|
||||
<!-- End configuration block -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End auditkeys card -->
|
@ -32,7 +32,8 @@
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('fim-monitored')" name="fim-monitored">Monitored</md-nav-item>
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('fim-ignored')" name="fim-ignored">Ignored</md-nav-item>
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('fim-nodiff')" name="fim-nodiff">No diff</md-nav-item>
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('fim-windows')" ng-if="agent && agent.os && agent.os.platform === 'windows'" name="fim-windows">Windows</md-nav-item>
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('fim-whodata')" ng-if="!agent || agent.isLinuxOS" name="fim-whodata">Who-data</md-nav-item>
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('fim-windows')" ng-if="((agent || {}).os || {}).platform === 'windows'" name="fim-windows">Windows</md-nav-item>
|
||||
</md-nav-bar>
|
||||
<!-- End Integrity monitoring navigation bar -->
|
||||
|
||||
|
@ -4,5 +4,6 @@ include ./fim-ignored.html
|
||||
include ./fim-monitored.html
|
||||
include ./fim-nodiff.html
|
||||
include ./fim-windows.html
|
||||
include ./fim-whodata.html
|
||||
include ./integrity-monitoring.foot
|
||||
include ../../../footer.foot
|
||||
|
Loading…
Reference in New Issue
Block a user