3.12-7.6 New fim settings (#2157)

* new fim settings

* more info in sync labels

* change database in fim synchronization

* added new fim properties skip_dev, skip_sys and skip_proc
This commit is contained in:
Toni 2020-03-30 12:18:47 +02:00 committed by JuanCarlos
parent a37e21aaa1
commit 3b996909da
No known key found for this signature in database
GPG Key ID: B1C4FB733616273A
4 changed files with 73 additions and 1 deletions

View File

@ -52,6 +52,18 @@
label="Skip scan on CIFS/NFS mounts" label="Skip scan on CIFS/NFS mounts"
value="currentConfig['syscheck-syscheck'].syscheck.skip_nfs"> value="currentConfig['syscheck-syscheck'].syscheck.skip_nfs">
</wz-config-item> </wz-config-item>
<wz-config-item
label="Skip scan of /dev directory"
value="currentConfig['syscheck-syscheck'].syscheck.skip_dev">
</wz-config-item>
<wz-config-item
label="Skip scan of /sys directory"
value="currentConfig['syscheck-syscheck'].syscheck.skip_sys">
</wz-config-item>
<wz-config-item
label="Skip scan of /proc directory"
value="currentConfig['syscheck-syscheck'].syscheck.skip_proc">
</wz-config-item>
<wz-config-item <wz-config-item
label="Remove old local snapshots" label="Remove old local snapshots"
value="currentConfig['syscheck-syscheck'].syscheck.remove_old_diff || 'yes'"> value="currentConfig['syscheck-syscheck'].syscheck.remove_old_diff || 'yes'">
@ -68,6 +80,18 @@
label="Command to prevent prelinking" label="Command to prevent prelinking"
value="currentConfig['syscheck-syscheck'].syscheck.prefilter_cmd || '-'"> value="currentConfig['syscheck-syscheck'].syscheck.prefilter_cmd || '-'">
</wz-config-item> </wz-config-item>
<wz-config-item
label="Maximum event reporting throughput"
value="currentConfig['syscheck-syscheck'].syscheck.max_eps">
</wz-config-item>
<wz-config-item
label="Process priority"
value="currentConfig['syscheck-syscheck'].syscheck.process_priority">
</wz-config-item>
<wz-config-item
label="Database type"
value="currentConfig['syscheck-syscheck'].syscheck.database">
</wz-config-item>
</div> </div>
<!-- End configuration block --> <!-- End configuration block -->

View File

@ -0,0 +1,47 @@
<md-card class="wz-md-card" ng-if="!JSONContent && !XMLContent && configurationSubTab === 'fim-synchronization'">
<md-card-content>
<div layout="row" layout-align="start center">
<div>
<span class="font-size-16">Synchronization</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">Database synchronization settings</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">&nbsp;&centerdot;&nbsp;</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">
<wz-config-item
label="Synchronization status"
value="currentConfig['syscheck-syscheck'].syscheck.synchronization.enabled === 'yes' ? 'enabled' : 'disabled'">
</wz-config-item>
<wz-config-item
label="Maximum interval (in seconds) between every sync"
value="currentConfig['syscheck-syscheck'].syscheck.synchronization.max_interval">
</wz-config-item>
<wz-config-item
label="Interval (in seconds) between every sync"
value="currentConfig['syscheck-syscheck'].syscheck.synchronization.interval">
</wz-config-item>
<wz-config-item
label="Response timeout (in seconds)"
value="currentConfig['syscheck-syscheck'].syscheck.synchronization.response_timeout">
</wz-config-item>
<wz-config-item
label="Queue size of the manager responses"
value="currentConfig['syscheck-syscheck'].syscheck.synchronization.queue_size">
</wz-config-item>
<wz-config-item
label="Maximum message throughput"
value="currentConfig['syscheck-syscheck'].syscheck.synchronization.max_eps">
</wz-config-item>
</div>
<!-- End configuration block -->
</md-card-content>
</md-card>
<!-- End general card -->

View File

@ -25,7 +25,7 @@
<!-- Integrity monitoring navigation bar --> <!-- Integrity monitoring navigation bar -->
<div ng-if="configurationTabsProps" class="md-padding wz-padding-top-0" <div ng-if="configurationTabsProps" class="md-padding wz-padding-top-0"
ng-init="buildProps([{id:'fim-general', name: 'General'}, {id: 'fim-monitored', name: 'Monitored'}, {id: 'fim-ignored', name: 'Ignored'}, {id: 'fim-nodiff', name: 'No diff'}, {id: 'fim-whodata', name: 'Who-data', agent}])"> ng-init="buildProps([{id:'fim-general', name: 'General'}, {id: 'fim-monitored', name: 'Monitored'}, {id: 'fim-ignored', name: 'Ignored'}, {id: 'fim-nodiff', name: 'No diff'}, {id: 'fim-whodata', name: 'Who-data', agent}, {id: 'fim-synchronization', name: 'Synchronization'}])">
<react-component name="Tabs" props="configurationTabsProps" /> <react-component name="Tabs" props="configurationTabsProps" />
</div> </div>
<!-- End Integrity monitoring navigation bar --> <!-- End Integrity monitoring navigation bar -->

View File

@ -4,5 +4,6 @@ include ./fim-ignored.html
include ./fim-monitored.html include ./fim-monitored.html
include ./fim-nodiff.html include ./fim-nodiff.html
include ./fim-whodata.html include ./fim-whodata.html
include ./fim-synchronization.html
include ./integrity-monitoring.foot include ./integrity-monitoring.foot
include ../../../footer.foot include ../../../footer.foot