mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
778 lines
51 KiB
HTML
778 lines
51 KiB
HTML
<md-content flex layout="column" ng-if="tab === 'configuration' && configurationError" ng-show="!load">
|
|
|
|
<!-- This container appears when there's some error getting the configuration -->
|
|
<div layout="column" layout-align="start stretch" >
|
|
<md-card flex class="wz-md-card">
|
|
<md-card-content>
|
|
<span class="wz-headline-title"><i class="fa fa-fw fa-warning"></i> Warning</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10 wz-line-height">
|
|
This agent has never been connected, therefore no group has been assigned.
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10 wz-line-height">
|
|
Use the following links to learn about the agent registration process and grouping of agents:
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10 wz-line-height">
|
|
<ul>
|
|
<li>
|
|
<a href="https://documentation.wazuh.com/current/user-manual/registering/index.html">https://documentation.wazuh.com/current/user-manual/registering/index.html</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://documentation.wazuh.com/current/user-manual/agents/grouping-agents.html">https://documentation.wazuh.com/current/user-manual/agents/grouping-agents.html</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
</md-content>
|
|
|
|
<md-content flex layout="column" layout-align="start" ng-if="tab === 'configuration' && !configurationError" ng-show="!load">
|
|
|
|
<!-- The section container -->
|
|
<div flex layout="column" layout-align="start stretch" ng-init="toggleRAW=false;selectedConfigTab='fim';">
|
|
|
|
<!-- First row - Configuration status and other details -->
|
|
<div layout="row">
|
|
<md-card flex class="wz-metric-color wz-md-card">
|
|
<md-card-content layout="row" class="wz-padding-metric">
|
|
<div class="wz-text-truncatable" flex>Group: <span ng-click="goGroup()" class="wz-text-bold wz-text-link" tooltip="Click to go to the group details" tooltip-placement="right">{{groupName}}</span></div>
|
|
<div class="wz-text-truncatable" flex>Configuration status: <span class="wz-text-bold" tooltip="The current synchronization status" tooltip-placement="right">{{isSynchronized ? 'SYNCHRONIZED' : 'NOT SYNCHRONIZED'}}</span></div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<!-- Second row - There's no applied configuration at all -->
|
|
<div layout="row"
|
|
ng-if="tab === 'configuration'
|
|
&& !configurationError
|
|
&& !groupConfiguration.config.syscheck
|
|
&& !groupConfiguration.config.rootcheck
|
|
&& !groupConfiguration.config.syscollector
|
|
&& !groupConfiguration.config['open-scap']
|
|
&& !groupConfiguration.config['cis-cat']
|
|
&& !groupConfiguration.config['localfile']
|
|
&& !groupConfiguration.config['command']">
|
|
<md-card flex class="wz-md-card">
|
|
<md-card-content>
|
|
<span class="wz-headline-title"><i class="fa fa-fw fa-warning"></i> Warning</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10 wz-line-height">
|
|
This agent belongs to a group where there's actually no configuration.
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10 wz-line-height">
|
|
Use the following link to learn about the centralized configuration process and how to set it up:
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10 wz-line-height">
|
|
<ul>
|
|
<li>
|
|
<a href="https://documentation.wazuh.com/current/user-manual/reference/centralized-configuration.html">https://documentation.wazuh.com/current/user-manual/reference/centralized-configuration.html</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<!-- Second row - The configuration section itself -->
|
|
<div layout="row">
|
|
|
|
<div flex="25">
|
|
|
|
<!-- FILE INTEGRITY -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config.syscheck">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='fim';toggleRAW=false">File Integrity</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.disabled">
|
|
<span flex>Disabled</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_on_start">
|
|
<span flex>Scan on start</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_on_start}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.frequency">
|
|
<span flex>Frequency</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.frequency}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END FILE INTEGRITY -->
|
|
|
|
<!-- POLICY MONITORING -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config.rootcheck">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='pm';toggleRAW=false">Policy Monitoring</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.disabled">
|
|
<span flex>Disabled</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.base_directory">
|
|
<span flex>Base directory</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.base_directory}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END POLICY MONITORING -->
|
|
|
|
<!-- SYSCOLLECTOR -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config.syscollector">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='syscollector';toggleRAW=false">Syscollector</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.disabled">
|
|
<span flex>Disabled</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.scan_on_start">
|
|
<span flex>Scan on start</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.scan_on_start}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END SYSCOLLECTOR -->
|
|
|
|
<!-- OPENSCAP -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['open-scap']">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='scap';toggleRAW=false">OpenSCAP</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].disabled">
|
|
<span flex>Disabled</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].interval">
|
|
<span flex>Interval</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].interval}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END OPENSCAP -->
|
|
|
|
<!-- CISCAT -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['cis-cat']">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='ciscat';toggleRAW=false">CIS-CAT</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].disabled">
|
|
<span flex>Disabled</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].interval">
|
|
<span flex>Interval</span>
|
|
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].interval}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END CISCAT -->
|
|
|
|
<!-- LOG COLLECTION -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['localfile']">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='log';toggleRAW=false">Log Collection</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Visualize all Log Collection settings</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END LOG COLLECTION -->
|
|
|
|
<!-- COMMAND -->
|
|
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['command']">
|
|
<md-card-content>
|
|
<!-- Section title -->
|
|
<span class="wz-headline-title wz-text-link" tooltip="Click to see more details" tooltip-placement="right" ng-click="selectedConfigTab='command';toggleRAW=false">Remote Command</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Visualize all Remote Command settings</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END COMMAND -->
|
|
|
|
</div>
|
|
|
|
<div flex="75" layout="row" layout-align="start stretch">
|
|
|
|
<!-- FILE INTEGRITY -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'fim' && !toggleRAW && groupConfiguration.config.syscheck">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-shield"></i> File Integrity</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Main settings -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.disabled">
|
|
<span flex="25">Disabled</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.frequency">
|
|
<span flex="25">Frequency</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.frequency}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.alert_new_files">
|
|
<span flex="25">Alert new files</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.alert_new_files}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.skip_nfs">
|
|
<span flex="25">Skip NFS</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.skip_nfs}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_on_start">
|
|
<span flex="25">Scan on start</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_on_start}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_time">
|
|
<span flex="25">Scan time</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_time}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_day">
|
|
<span flex="25">Scan day</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_day}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.auto_ignore">
|
|
<span flex="25">Auto ignore</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.auto_ignore}}</span>
|
|
</div>
|
|
|
|
<!-- No diff settings -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.nodiff">
|
|
<span class="wz-headline-title wz-padding-top-10">No diff</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.syscheck.nodiff">
|
|
<div ng-if="!item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">File</span>
|
|
<span class="wz-text-right color-grey">{{item}}</span>
|
|
</div>
|
|
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">File</span>
|
|
<span class="wz-text-right color-grey">{{item.item}}</span>
|
|
</div>
|
|
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Type</span>
|
|
<span class="wz-text-right color-grey">{{item.type}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
|
|
<!-- Monitored files -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.directories">
|
|
<span class="wz-headline-title wz-padding-top-10">Monitored files</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.syscheck.directories">
|
|
<div ng-if="item.path" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Path</span>
|
|
<span class="wz-text-right color-grey">{{item.path}}</span>
|
|
</div>
|
|
<div ng-if="item.check_all" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Check all</span>
|
|
<span class="wz-text-right color-grey">{{item.check_all}}</span>
|
|
</div>
|
|
<div ng-if="item.realtime" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Realtime</span>
|
|
<span class="wz-text-right color-grey">{{item.realtime}}</span>
|
|
</div>
|
|
<div ng-if="item.whodata" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Whodata</span>
|
|
<span class="wz-text-right color-grey">{{item.whodata}}</span>
|
|
</div>
|
|
<div ng-if="item.report_changes" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Report changes</span>
|
|
<span class="wz-text-right color-grey">{{item.report_changes}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_sum">
|
|
<span flex="25">Check sum</span>
|
|
<span class="wz-text-right color-grey">{{item.check_sum}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_sha1sum">
|
|
<span flex="25">Check SHA1sum</span>
|
|
<span class="wz-text-right color-grey">{{item.check_sha1sum}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_md5sum">
|
|
<span flex="25">Check MD5sum</span>
|
|
<span class="wz-text-right color-grey">{{item.check_md5sum}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_size">
|
|
<span flex="25">Check size</span>
|
|
<span class="wz-text-right color-grey">{{item.check_size}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_owner">
|
|
<span flex="25">Check owner</span>
|
|
<span class="wz-text-right color-grey">{{item.check_owner}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_group">
|
|
<span flex="25">Check group</span>
|
|
<span class="wz-text-right color-grey">{{item.check_group}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_perm">
|
|
<span flex="25">Check permissions</span>
|
|
<span class="wz-text-right color-grey">{{item.check_perm}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_mtime">
|
|
<span flex="25">Check modification time</span>
|
|
<span class="wz-text-right color-grey">{{item.check_mtime}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.check_inode">
|
|
<span flex="25">Check inode</span>
|
|
<span class="wz-text-right color-grey">{{item.check_inode}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="item.restrict">
|
|
<span flex="25">Restrict</span>
|
|
<span class="wz-text-right color-grey">{{item.restrict}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
|
|
<!-- Ignored files -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.ignore">
|
|
<span class="wz-headline-title wz-padding-top-10">Ignored files</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.syscheck.ignore">
|
|
<div ng-if="!item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">File</span>
|
|
<span class="wz-text-right color-grey">{{item}}</span>
|
|
</div>
|
|
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">File</span>
|
|
<span class="wz-text-right color-grey">{{item.item}}</span>
|
|
</div>
|
|
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Type</span>
|
|
<span class="wz-text-right color-grey">{{item.type}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END FILE INTEGRITY -->
|
|
|
|
<!-- POLICY MONITORING -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'pm' && !toggleRAW && groupConfiguration.config.rootcheck">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-check"></i> Policy Monitoring</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Main settings -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.disabled">
|
|
<span flex="25">Disabled</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.base_directory">
|
|
<span flex="25">Base directory</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.base_directory}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.frequency">
|
|
<span flex="25">Frequency</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.frequency}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.scanall">
|
|
<span flex="25">Scan all files</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.scanall}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.skip_nfs">
|
|
<span flex="25">Skip NFS</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.skip_nfs}}</span>
|
|
</div>
|
|
|
|
<!-- Checks -->
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span class="wz-headline-title wz-padding-top-10">Checks</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_unixaudit">
|
|
<span flex="25">Check UNIX Audit</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_unixaudit}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_dev">
|
|
<span flex="25">Check /dev</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_dev}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_files">
|
|
<span flex="25">Check files</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_files}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_if">
|
|
<span flex="25">Check interfaces</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_if}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_pids">
|
|
<span flex="25">Check PIDs</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_pids}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_policy">
|
|
<span flex="25">Check policy</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_policy}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_ports">
|
|
<span flex="25">Check ports</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_ports}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_sys">
|
|
<span flex="25">Check SYSt</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_sys}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_trojans">
|
|
<span flex="25">Check Trojans</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_trojans}}</span>
|
|
</div>
|
|
|
|
<!-- Windows Settings -->
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span class="wz-headline-title wz-padding-top-10">Windows Settings</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winaudit">
|
|
<span flex="25">Check Windows Audit</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_winaudit}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winapps">
|
|
<span flex="25">Check Windows apps</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_winapps}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winmalware">
|
|
<span flex="25">Check Windows malware</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_winmalware}}</span>
|
|
</div>
|
|
|
|
<!-- Rootkit -->
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span class="wz-headline-title wz-padding-top-10">Rootkit</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winaudit">
|
|
<span flex="25">Trojans path</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.rootkit_trojans[0]}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winapps">
|
|
<span flex="25">Files path</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.rootkit_files[0]}}</span>
|
|
</div>
|
|
|
|
<!-- System Audit Files -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.system_audit">
|
|
<span class="wz-headline-title wz-padding-top-10">System Audit Files</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.rootcheck.system_audit">
|
|
<div ng-if="item" layout="row" class="wz-padding-top-10">
|
|
<span class="color-grey">{{item}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
|
|
<!-- Windows Audit Files -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.windows_audit">
|
|
<span class="wz-headline-title wz-padding-top-10">Windows Audit Files</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.rootcheck.windows_audit">
|
|
<div ng-if="item" layout="row" class="wz-padding-top-10">
|
|
<span class="color-grey">{{item}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
|
|
<!-- Windows Apps Files -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.windows_apps">
|
|
<span class="wz-headline-title wz-padding-top-10">Windows Apps Files</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.rootcheck.windows_apps">
|
|
<div ng-if="item" layout="row" class="wz-padding-top-10">
|
|
<span class="color-grey">{{item}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
|
|
<!-- Windows Malware Files -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.windows_malware">
|
|
<span class="wz-headline-title wz-padding-top-10">Windows Malware Files</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config.rootcheck.windows_malware">
|
|
<div ng-if="item" layout="row" class="wz-padding-top-10">
|
|
<span class="color-grey">{{item}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END POLICY MONITORING -->
|
|
|
|
<!-- SYSCOLLECTOR -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'syscollector' && !toggleRAW && groupConfiguration.config.syscollector">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-laptop"></i> Syscollector</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Main settings -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.disabled">
|
|
<span flex="25">Disabled</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.interval">
|
|
<span flex="25">Interval</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.interval}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.scan_on_start">
|
|
<span flex="25">Scan on start</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.scan_on_start}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.hardware">
|
|
<span flex="25">Hardware</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.hardware}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.os">
|
|
<span flex="25">OS</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.os}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscollector.packages">
|
|
<span flex="25">Packages</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscollector.packages}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END SYSCOLLECTOR -->
|
|
|
|
<!-- OPENSCAP -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'scap' && !toggleRAW && groupConfiguration.config['open-scap']">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-sliders"></i> OpenSCAP</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Main settings -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].disabled">
|
|
<span flex="25">Disabled</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].interval">
|
|
<span flex="25">Interval</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].interval}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap']['scan-on-start']">
|
|
<span flex="25">Scan on start</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap']['scan-on-start']}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].ciscat_path">
|
|
<span flex="25">CIS-CAT path</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].ciscat_path}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].java_path">
|
|
<span flex="25">Java path</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].java_path}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].timeout">
|
|
<span flex="25">Timeout</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].timeout}}</span>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].content">
|
|
<span class="wz-headline-title wz-padding-top-10">Content</span>
|
|
</div>
|
|
<div ng-repeat="item in groupConfiguration.config['open-scap'].content">
|
|
<div ng-if="item.path" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Path</span>
|
|
<span class="wz-text-right color-grey">{{item.path}}</span>
|
|
</div>
|
|
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Type</span>
|
|
<span class="wz-text-right color-grey">{{item.type}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END OPENSCAP -->
|
|
|
|
<!-- CIS-CAT -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'ciscat' && !toggleRAW && groupConfiguration.config['cis-cat']">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-rocket"></i> CIS-CAT</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Main settings -->
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].disabled">
|
|
<span flex="25">Disabled</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].disabled}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].interval">
|
|
<span flex="25">Interval</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].interval}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].timeout">
|
|
<span flex="25">Timeout</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].timeout}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat']['scan-on-start']">
|
|
<span flex="25">Scan on start</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat']['scan-on-start']}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].java_path">
|
|
<span flex="25">Java path</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].java_path}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].ciscat_path">
|
|
<span flex="25">CIS-CAT path</span>
|
|
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].ciscat_path}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END CIS-CAT -->
|
|
|
|
<!-- LOG COLLECTION -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'log' && !toggleRAW && groupConfiguration.config['localfile']">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-reorder"></i> Log Collection</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Log Files -->
|
|
<div ng-repeat="item in groupConfiguration.config['localfile']">
|
|
<div ng-if="item.location" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Location</span>
|
|
<span class="wz-text-right color-grey">{{item.location}}</span>
|
|
</div>
|
|
<div ng-if="item.log_format" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Log format</span>
|
|
<span class="wz-text-right color-grey">{{item.log_format}}</span>
|
|
</div>
|
|
<div ng-if="item.frequency" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Frequency</span>
|
|
<span class="wz-text-right color-grey">{{item.frequency}}</span>
|
|
</div>
|
|
<div ng-if="item.query" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Query</span>
|
|
<span class="wz-text-right color-grey">{{item.query}}</span>
|
|
</div>
|
|
<div ng-if="item.command" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Command</span>
|
|
<span class="wz-text-right color-grey">{{item.command}}</span>
|
|
</div>
|
|
<div ng-if="item.alias" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Alias</span>
|
|
<span class="wz-text-right color-grey">{{item.alias}}</span>
|
|
</div>
|
|
<div ng-if="item.label" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Label</span>
|
|
<span class="wz-text-right color-grey">{{item.label}}</span>
|
|
</div>
|
|
<div ng-if="item.label" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Only future events</span>
|
|
<span class="wz-text-right color-grey">{{item['only-future-events']}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END LOG COLLECTION -->
|
|
|
|
<!-- COMMAND -->
|
|
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'command' && !toggleRAW && groupConfiguration.config['command']">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-terminal"></i> Remote Command</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Commands -->
|
|
<div ng-repeat="item in groupConfiguration.config['command']">
|
|
<div ng-if="item.disabled" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Disabled</span>
|
|
<span class="wz-text-right color-grey">{{item.disabled}}</span>
|
|
</div>
|
|
<div ng-if="item.tag" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Tag</span>
|
|
<span class="wz-text-right color-grey">{{item.tag}}</span>
|
|
</div>
|
|
<div ng-if="item.command" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Command</span>
|
|
<span class="wz-text-right color-grey">{{item.command}}</span>
|
|
</div>
|
|
<div ng-if="item.interval" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Interval</span>
|
|
<span class="wz-text-right color-grey">{{item.interval}}</span>
|
|
</div>
|
|
<div ng-if="item.run_on_start" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Run on start</span>
|
|
<span class="wz-text-right color-grey">{{item.run_on_start}}</span>
|
|
</div>
|
|
<div ng-if="item.ignore_output" layout="row" class="wz-padding-top-10">
|
|
<span flex="25">Ignore output</span>
|
|
<span class="wz-text-right color-grey">{{item.ignore_output}}</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END COMMAND -->
|
|
|
|
<!-- JSON VIEWER -->
|
|
<md-card flex class="wz-md-card" ng-show="toggleRAW">
|
|
<md-card-content>
|
|
|
|
<!-- Section title -->
|
|
<div layout="row" layout-align="start center">
|
|
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-eye"></i> JSON viewer</span>
|
|
<md-switch flex="15" class="wz-switch" ng-model="toggleRAW">View JSON</md-switch>
|
|
</div>
|
|
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- JSON viewer -->
|
|
<div flex class="wz-padding-top-10">
|
|
<pre flex class="wz-pre json-beautifier jsonbeauty2 wz-overflow-y-auto"><code wz-dynamic="rawJSON"></code></pre>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- END JSON VIEWER -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</md-content>
|