-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1123 from wazuh/issue-1114
Added Audit keys configuration
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
public/templates/management/configuration/integrity-monitoring/fim-whodata.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters