wazuh-kibana-app/public/templates/agents/agents-configuration.html

740 lines
48 KiB
HTML
Raw Normal View History

<md-content flex layout="column" ng-if="tab === 'configuration' && configurationError" layout-align="start">
<!-- Loading ring -->
<div class='uil-ring-css' ng-show="load">
<div></div>
</div>
2018-03-13 14:46:29 +00:00
<!-- This container appears when there's some error getting the configuration -->
<div layout="column" layout-align="start stretch" ng-show="!load">
2018-03-06 16:38:58 +00:00
<md-card flex class="wz-md-card">
<md-card-content>
2018-03-12 08:54:37 +00:00
<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>
2018-03-12 08:54:37 +00:00
<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">
<!-- Loading ring -->
<div class='uil-ring-css' ng-show="load">
<div></div>
</div>
<!-- The section container -->
<div flex layout="column" layout-align="start stretch" ng-show="!load" ng-init="toggleRAW=false;selectedConfigTab='fim';">
<!-- First row - Configuration status and other details -->
2018-03-12 12:27:56 +00:00
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
2018-03-22 14:11:36 +00:00
<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>
2018-03-12 12:27:56 +00:00
</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">
2018-03-19 12:23:13 +00:00
This agent belongs to a group where actually there's no configuration.
</div>
<div layout="row" class="wz-padding-top-10 wz-line-height">
2018-03-19 12:23:13 +00:00
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">
2018-01-17 16:29:49 +00:00
2018-03-12 12:27:56 +00:00
<!-- FILE INTEGRITY -->
2018-03-12 17:55:38 +00:00
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config.syscheck">
2018-03-12 12:27:56 +00:00
<md-card-content>
<!-- Section title -->
2018-03-15 16:32:31 +00:00
<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>
2018-03-12 12:27:56 +00:00
<md-divider class="wz-margin-top-10"></md-divider>
2018-03-12 18:38:54 +00:00
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.disabled">
<span flex>Disabled</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.disabled}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.frequency">
<span flex>Frequency</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.frequency}}</span>
2018-01-17 16:29:49 +00:00
</div>
2018-03-12 12:27:56 +00:00
</md-card-content>
</md-card>
<!-- END FILE INTEGRITY -->
2018-03-12 15:24:53 +00:00
<!-- POLICY MONITORING -->
2018-03-12 17:55:38 +00:00
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config.rootcheck">
2018-03-12 15:24:53 +00:00
<md-card-content>
<!-- Section title -->
2018-03-15 16:32:31 +00:00
<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>
2018-03-12 15:24:53 +00:00
<md-divider class="wz-margin-top-10"></md-divider>
2018-03-12 18:38:54 +00:00
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.disabled">
<span flex>Disabled</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.disabled}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.base_directory">
<span flex>Base directory</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.frequency}}</span>
2018-03-12 15:24:53 +00:00
</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 -->
2018-03-12 18:38:54 +00:00
<!-- OPENSCAP -->
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['open-scap']">
2018-03-12 15:24:53 +00:00
<md-card-content>
<!-- Section title -->
2018-03-15 16:32:31 +00:00
<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>
2018-03-12 15:24:53 +00:00
<md-divider class="wz-margin-top-10"></md-divider>
2018-03-12 18:38:54 +00:00
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].disabled">
<span flex>Disabled</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].disabled}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].interval">
<span flex>Interval</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].interval}}</span>
2018-03-12 15:24:53 +00:00
</div>
</md-card-content>
</md-card>
2018-03-12 18:38:54 +00:00
<!-- END OPENSCAP -->
2018-03-12 15:24:53 +00:00
2018-03-13 14:46:29 +00:00
<!-- CISCAT -->
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['cis-cat']">
<md-card-content>
<!-- Section title -->
2018-03-15 16:32:31 +00:00
<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>
2018-03-13 14:46:29 +00:00
<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>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].disabled}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].interval">
<span flex>Interval</span>
2018-03-14 10:45:36 +00:00
<span flex class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].interval}}</span>
2018-03-13 14:46:29 +00:00
</div>
</md-card-content>
</md-card>
<!-- END CISCAT -->
2018-03-12 18:38:54 +00:00
<!-- LOG COLLECTION -->
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['localfile']">
2018-03-12 15:24:53 +00:00
<md-card-content>
<!-- Section title -->
2018-03-15 16:32:31 +00:00
<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>
2018-03-12 15:24:53 +00:00
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" class="wz-padding-top-10">
2018-03-12 18:38:54 +00:00
<span flex>Visualize all Log Collection settings</span>
2018-03-12 15:24:53 +00:00
</div>
</md-card-content>
</md-card>
2018-03-12 18:38:54 +00:00
<!-- END LOG COLLECTION -->
2018-03-12 15:24:53 +00:00
2018-03-13 14:46:29 +00:00
<!-- COMMAND -->
<md-card flex class="wz-md-card" ng-show="groupConfiguration.config['command']">
2018-03-13 14:46:29 +00:00
<md-card-content>
<!-- Section title -->
2018-03-15 16:32:31 +00:00
<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>
2018-03-13 14:46:29 +00:00
<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 -->
2018-03-12 12:27:56 +00:00
</div>
2018-01-17 16:29:49 +00:00
2018-03-12 12:27:56 +00:00
<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">
2018-03-12 12:27:56 +00:00
<md-card-content>
2018-03-12 14:43:36 +00:00
2018-03-12 12:27:56 +00:00
<!-- Section title -->
2018-03-12 14:43:36 +00:00
<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>
2018-03-12 15:14:45 +00:00
<md-switch flex="15" class="wz-md-switch" ng-model="toggleRAW">View JSON</md-switch>
2018-03-12 14:43:36 +00:00
</div>
2018-03-12 12:27:56 +00:00
<md-divider class="wz-margin-top-10"></md-divider>
2018-03-12 14:43:36 +00:00
<!-- Main settings -->
2018-03-12 12:27:56 +00:00
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.disabled">
<span flex="25">Disabled</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.disabled}}</span>
2018-01-17 16:29:49 +00:00
</div>
2018-03-12 14:43:36 +00:00
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.frequency">
<span flex="25">Frrequency</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.frequency}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.alert_new_files">
<span flex="25">Alert new files</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.alert_new_files}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.skip_nfs">
<span flex="25">Skip NFS</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.skip_nfs}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_on_start">
<span flex="25">Scan on start</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_on_start}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_time">
<span flex="25">Scan time</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_time}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.scan_day">
<span flex="25">Scan day</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.scan_day}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.syscheck.auto_ignore">
<span flex="25">Auto ignore</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.syscheck.auto_ignore}}</span>
2018-03-12 14:43:36 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
<span flex="25">File</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.item}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
<span flex="25">Type</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.type}}</span>
2018-03-12 14:43:36 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.path}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.check_all" layout="row" class="wz-padding-top-10">
<span flex="25">Check all</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.check_all}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.realtime" layout="row" class="wz-padding-top-10">
<span flex="25">Realtime</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.realtime}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.report_changes" layout="row" class="wz-padding-top-10">
<span flex="25">Report changes</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.report_changes}}</span>
2018-03-12 14:43:36 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
<span flex="25">File</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.item}}</span>
2018-03-12 14:43:36 +00:00
</div>
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
<span flex="25">Type</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.type}}</span>
2018-03-12 14:43:36 +00:00
</div>
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
</div>
2018-03-12 12:27:56 +00:00
</md-card-content>
</md-card>
<!-- END FILE INTEGRITY -->
2018-01-18 15:02:37 +00:00
2018-03-12 15:24:53 +00:00
<!-- POLICY MONITORING -->
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'pm' && !toggleRAW && groupConfiguration.config.rootcheck">
2018-03-12 15:24:53 +00:00
<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-md-switch" ng-model="toggleRAW">View JSON</md-switch>
</div>
<md-divider class="wz-margin-top-10"></md-divider>
2018-03-12 17:55:38 +00:00
<!-- Main settings -->
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.disabled">
<span flex="25">Disabled</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.disabled}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.base_directory">
<span flex="25">Base directory</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.frequency}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.frequency">
<span flex="25">Frequency</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.frequency}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.scanall">
<span flex="25">Scan all files</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.scanall}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.skip_nfs">
<span flex="25">Skip NFS</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.skip_nfs}}</span>
2018-03-12 17:55:38 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_unixaudit}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_dev">
<span flex="25">Check /dev</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_dev}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_files">
<span flex="25">Check files</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_files}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_if">
<span flex="25">Check interfaces</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_if}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_pids">
<span flex="25">Check PIDs</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_pids}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_policy">
<span flex="25">Check policy</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_policy}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_ports">
<span flex="25">Check ports</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_ports}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_sys">
<span flex="25">Check SYSt</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_sys}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_trojans">
<span flex="25">Check Trojans</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_trojans}}</span>
2018-03-12 17:55:38 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_winaudit}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winapps">
<span flex="25">Check Windows apps</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_winapps}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winmalware">
<span flex="25">Check Windows malware</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.check_winmalware}}</span>
2018-03-12 17:55:38 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.rootkit_trojans[0]}}</span>
2018-03-12 17:55:38 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config.rootcheck.check_winapps">
<span flex="25">Files path</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config.rootcheck.rootkit_files[0]}}</span>
2018-03-12 17:55:38 +00:00
</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>
2018-03-12 17:55:38 +00:00
</div>
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
</div>
2018-03-12 17:56:42 +00:00
<!-- 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>
2018-03-12 17:55:38 +00:00
</div>
2018-03-12 17:56:42 +00:00
<div ng-repeat="item in groupConfiguration.config.rootcheck.windows_audit">
2018-03-12 17:55:38 +00:00
<div ng-if="item" layout="row" class="wz-padding-top-10">
<span class="color-grey">{{item}}</span>
2018-03-12 17:55:38 +00:00
</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>
2018-03-12 17:55:38 +00:00
</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>
2018-03-12 17:55:38 +00:00
</div>
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
</div>
2018-03-12 15:24:53 +00:00
</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-md-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 -->
2018-03-12 15:24:53 +00:00
<!-- OPENSCAP -->
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'scap' && !toggleRAW && groupConfiguration.config['open-scap']">
2018-03-12 15:24:53 +00:00
<md-card-content>
<!-- Section title -->
<div layout="row" layout-align="start center">
2018-03-12 17:55:38 +00:00
<span flex="85" class="wz-headline-title"><i class="fa fa-fw fa-sliders"></i> OpenSCAP</span>
2018-03-12 15:24:53 +00:00
<md-switch flex="15" class="wz-md-switch" ng-model="toggleRAW">View JSON</md-switch>
</div>
<md-divider class="wz-margin-top-10"></md-divider>
2018-03-12 18:27:50 +00:00
<!-- Main settings -->
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].disabled">
<span flex="25">Disabled</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].disabled}}</span>
2018-03-12 18:27:50 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].interval">
<span flex="25">Interval</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].interval}}</span>
2018-03-12 18:27:50 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap']['scan-on-start']}}</span>
2018-03-12 18:27:50 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].ciscat_path">
<span flex="25">CIS-CAT path</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].ciscat_path}}</span>
2018-03-12 18:27:50 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].java_path">
<span flex="25">Java path</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].java_path}}</span>
2018-03-12 18:27:50 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].timeout">
<span flex="25">Timeout</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['open-scap'].timeout}}</span>
2018-03-12 18:27:50 +00:00
</div>
<!-- Content -->
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['open-scap'].content">
2018-03-12 18:27:50 +00:00
<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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.path}}</span>
2018-03-12 18:27:50 +00:00
</div>
<div ng-if="item.type" layout="row" class="wz-padding-top-10">
<span flex="25">Type</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.type}}</span>
2018-03-12 18:27:50 +00:00
</div>
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
</div>
2018-03-12 15:24:53 +00:00
</md-card-content>
</md-card>
<!-- END OPENSCAP -->
2018-03-13 14:46:29 +00:00
<!-- CIS-CAT -->
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'ciscat' && !toggleRAW && groupConfiguration.config['cis-cat']">
2018-03-13 14:46:29 +00:00
<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-md-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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].disabled}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].interval">
<span flex="25">Interval</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].interval}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].timeout">
<span flex="25">Timeout</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].timeout}}</span>
2018-03-13 14:46:29 +00:00
</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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat']['scan-on-start']}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].java_path">
<span flex="25">Java path</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].java_path}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div layout="row" class="wz-padding-top-10" ng-if="groupConfiguration.config['cis-cat'].ciscat_path">
<span flex="25">CIS-CAT path</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{groupConfiguration.config['cis-cat'].ciscat_path}}</span>
2018-03-13 14:46:29 +00:00
</div>
</md-card-content>
</md-card>
<!-- END CIS-CAT -->
2018-03-12 18:38:54 +00:00
<!-- LOG COLLECTION -->
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'log' && !toggleRAW && groupConfiguration.config['localfile']">
2018-03-12 18:38:54 +00:00
<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-md-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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.location}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div ng-if="item.log_format" layout="row" class="wz-padding-top-10">
<span flex="25">Log format</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.log_format}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div ng-if="item.frequency" layout="row" class="wz-padding-top-10">
<span flex="25">Frequency</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.frequency}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div ng-if="item.query" layout="row" class="wz-padding-top-10">
<span flex="25">Query</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.query}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div ng-if="item.command" layout="row" class="wz-padding-top-10">
<span flex="25">Command</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.command}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div ng-if="item.alias" layout="row" class="wz-padding-top-10">
<span flex="25">Alias</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.alias}}</span>
2018-03-12 18:38:54 +00:00
</div>
<div ng-if="item.label" layout="row" class="wz-padding-top-10">
<span flex="25">Label</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.label}}</span>
2018-03-12 18:38:54 +00:00
</div>
2018-03-13 14:46:29 +00:00
<div ng-if="item.label" layout="row" class="wz-padding-top-10">
<span flex="25">Only future events</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item['only-future-events']}}</span>
2018-03-13 14:46:29 +00:00
</div>
2018-03-12 18:38:54 +00:00
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
</div>
</md-card-content>
</md-card>
<!-- END LOG COLLECTION -->
2018-03-13 14:46:29 +00:00
<!-- COMMAND -->
<md-card flex class="wz-md-card" ng-show="selectedConfigTab === 'command' && !toggleRAW && groupConfiguration.config['command']">
2018-03-13 14:46:29 +00:00
<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-md-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>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.disabled}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div ng-if="item.tag" layout="row" class="wz-padding-top-10">
<span flex="25">Tag</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.tag}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div ng-if="item.command" layout="row" class="wz-padding-top-10">
<span flex="25">Command</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.command}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div ng-if="item.interval" layout="row" class="wz-padding-top-10">
<span flex="25">Interval</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.interval}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div ng-if="item.run_on_start" layout="row" class="wz-padding-top-10">
<span flex="25">Run on start</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.run_on_start}}</span>
2018-03-13 14:46:29 +00:00
</div>
<div ng-if="item.ignore_output" layout="row" class="wz-padding-top-10">
<span flex="25">Ignore output</span>
2018-03-14 10:45:36 +00:00
<span class="wz-text-right color-grey">{{item.ignore_output}}</span>
2018-03-13 14:46:29 +00:00
</div>
<md-divider class="wz-margin-top-10" ng-if="!$last"></md-divider>
</div>
</md-card-content>
</md-card>
<!-- END COMMAND -->
2018-03-12 15:24:53 +00:00
<!-- JSON VIEWER -->
2018-03-12 15:14:45 +00:00
<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-md-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>
2018-03-12 15:24:53 +00:00
<!-- END JSON VIEWER -->
2018-03-12 15:14:45 +00:00
2018-03-12 12:27:56 +00:00
</div>
2018-01-17 16:29:49 +00:00
</div>
2018-03-12 12:27:56 +00:00
2018-01-17 16:29:49 +00:00
</div>
2018-01-18 18:50:55 +00:00
</md-content>