mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-08 18:53:52 +00:00
520 lines
23 KiB
HTML
520 lines
23 KiB
HTML
<md-content flex layout="column" ng-if="!load && submenuNavItem == 'configuration'" ng-controller="managerConfigurationController"
|
|
layout-align="space-around">
|
|
|
|
<md-content flex layout-padding layout="row" layout-sm="column" layout-xs="column">
|
|
|
|
|
|
<div flex layout="column" ng-if="managerConfiguration.global">
|
|
<md-card>
|
|
<md-card-content>
|
|
|
|
<h3>Global</h3>
|
|
<span ng-if="managerConfiguration.global.white_list">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>jsonout_output</p>
|
|
<p>{{managerConfiguration.global.jsonout_output}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.logall">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>logall</p>
|
|
<p class="right-text">{{managerConfiguration.global.logall}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.white_list">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold">White List</p>
|
|
<p class="right-text">
|
|
|
|
|
|
</p>
|
|
</span>
|
|
<p class="right-text" ng-repeat="item in managerConfiguration.global.white_list|orderBy">
|
|
{{ item }}
|
|
</p>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.stats">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>Stats</p>
|
|
<p class="right-text">{{ managerConfiguration.global.stats }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.host_infomation">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>Host information</p>
|
|
<p class="right-text">{{ managerConfiguration.global.host_infomation }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.alerts.log_alert_level">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>Log alert level</p>
|
|
<p class="right-text">{{ managerConfiguration.alerts.log_alert_level }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.email_notification">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Email notifications </p>
|
|
<p class="right-text">{{ managerConfiguration.global.email_notification }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.email_alert_level">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Email alert level </p>
|
|
<p class="right-text">{{ managerConfiguration.global.email_alert_level }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.email_to">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Email to </p>
|
|
<p class="right-text">{{ managerConfiguration.global.email_to }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.email_from">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Email from </p>
|
|
<p class="right-text">{{ managerConfiguration.global.email_from }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.smtp_server">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> SMTP Server </p>
|
|
<p class="right-text">{{ managerConfiguration.global.smtp_server }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.email_maxperhour">
|
|
<p> Max email per hour </p>
|
|
<p class="right-text">{{ managerConfiguration.global.email_maxperhour }}</p>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.global.email_idsname">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Email IDS name </p>
|
|
<p class="right-text">{{ managerConfiguration.global.email_idsname }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.email_to">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Email to </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.email_to }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.level">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Alert level </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.level }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.group">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Group </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.group }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.event_location">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Event location </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.event_location }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.format">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Format </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.format }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.rule_id">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Rule ID </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.rule_id }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.do_not_delay">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Do not delay </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.do_not_delay }}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.email_alerts.do_not_group">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Do not group </p>
|
|
<p class="right-text">{{ managerConfiguration.email_alerts.do_not_group }}</p>
|
|
</span>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card>
|
|
<md-card-content>
|
|
</span>
|
|
<h3>Active response</h3>
|
|
<span ng-repeat="item in managerConfiguration['active-response']|orderBy:'command'">
|
|
<span ng-if="item.command">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> {{ item.command }} </p>
|
|
<p class="right-text">
|
|
|
|
</p>
|
|
</span>
|
|
<span ng-if="item.location">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Location </p>
|
|
<p class="right-text">{{ item.location }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.agent_id">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Agent ID(s) </p>
|
|
<p class="right-text">{{ item.agent_id }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.level">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Level </p>
|
|
<p class="right-text">{{ item.level }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.timeout">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Timeout </p>
|
|
<p class="right-text">{{ item.timeout }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.rules_group" ng-repeat="group in item.rules_group.split(',');">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p ng-show="$first"> Rules group </p>
|
|
<p ng-show="!$first"></p>
|
|
<p class="right-text">{{ group }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.rules_id">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Rules ID(s) </p>
|
|
<p class="right-text">{{ item.rules_id }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.repeated_offenders">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Repeated offenders </p>
|
|
<p class="right-text">{{ item.repeated_offenders }}</p>
|
|
</span>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
</span>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card>
|
|
<md-card-content>
|
|
<h3>Commands</h3>
|
|
<span ng-repeat="item in managerConfiguration.command|orderBy:'name'">
|
|
<span ng-if="item.name">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> {{ item.name }} </p>
|
|
<p class="right-text">
|
|
|
|
|
|
</p>
|
|
</span>
|
|
<span ng-if="item.expect">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Expect </p>
|
|
<p class="right-text">{{ item.expect }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.executable">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Executable </p>
|
|
<p class="right-text">{{ item.executable }}</p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.timeout_allowed">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Timeout allowed </p>
|
|
<p class="right-text">{{ item.timeout_allowed}}</p>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<div flex layout="column">
|
|
<md-card>
|
|
<md-card-content>
|
|
<h3>Syscheck</h3>
|
|
<span ng-if="managerConfiguration.syscheck.disabled">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Syscheck disabled </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.disabled}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck['frequency']">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Frequency </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck['frequency']}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck.scan_time">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Scan time </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.scan_time}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck.scan_day">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Scan day </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.scan_day}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck.auto_ignore">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Auto ignore </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.auto_ignore}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck.alert_new_files">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Alert new files </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.alert_new_files}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck.scan_on_start">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Scan on start </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.scan_on_start}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.syscheck.skip_nfs">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Skip NFS </p>
|
|
<p class="right-text">{{managerConfiguration.syscheck.skip_nfs}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
<span ng-if="managerConfiguration.syscheck.directories">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold">Monitoring directories</p>
|
|
<p class="right-text">
|
|
|
|
|
|
</p>
|
|
</span>
|
|
<span ng-repeat="item in managerConfiguration.syscheck.directories|orderBy">
|
|
<p> {{ item }} </p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card>
|
|
<md-card-content>
|
|
|
|
<h3>Rootcheck</h3>
|
|
<span ng-if="managerConfiguration.rootcheck.disabled">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Rootcheck disabled </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck.disabled}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.rootcheck.rootkit_files">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Rootkit Files </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck.rootkit_files}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.rootcheck.rootkit_trojans">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Rootkit Trojans </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck.rootkit_trojans}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.rootcheck.base_directory">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Base directory </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck.base_directory}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.rootcheck.scanall">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Scan all </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck.scanall}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.rootcheck['frequency']">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Frequency </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck['frequency']}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
<span ng-if="managerConfiguration.rootcheck.skip_nfs">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p> Skip NFS </p>
|
|
<p class="right-text">{{managerConfiguration.rootcheck.skip_nfs}}</p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
|
|
<span ng-if="managerConfiguration.rootcheck.system_audit">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> System audit files</p>
|
|
|
|
</span>
|
|
<span ng-repeat="item in managerConfiguration.rootcheck.system_audit|orderBy">
|
|
<p> {{ item }} </p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card>
|
|
<md-card-content>
|
|
<h3>Logcollector</h3>
|
|
|
|
<span ng-repeat='item in managerConfiguration["localfile"]|orderBy:["location", "command"]'>
|
|
<span layout="row" layout-align="space-between center">
|
|
<p ng-if="item.location" > {{ item.location }} </p>
|
|
<p ng-if="item.command" style="overflow: hidden;"> {{ item.command }} </p>
|
|
<p class="right-text">{{ item.log_format }}</p>
|
|
</span>
|
|
|
|
<span ng-if="item.alias">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>Alias</p>
|
|
<p> {{ item.alias }} </p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item['frequency']">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>Frequency</p>
|
|
<p> {{ item['frequency'] }} </p>
|
|
</span>
|
|
</span>
|
|
<span ng-if="item.check_diff">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p>Check diff</p>
|
|
<p> {{ item.check_diff }} </p>
|
|
</span>
|
|
</span>
|
|
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
</md-card-content>
|
|
</md-card>
|
|
|
|
</div>
|
|
<div flex layout="column" ng-if="managerConfiguration.rules">
|
|
<md-card>
|
|
<md-card-content>
|
|
|
|
<h3>Decoders</h3>
|
|
<span ng-if="managerConfiguration.rules.decoder_dir">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> Decoder directories</p>
|
|
<p class="right-text">
|
|
|
|
|
|
</p>
|
|
</span>
|
|
<span ng-repeat="item in managerConfiguration.rules.decoder_dir|orderBy">
|
|
<p> {{ item }} </p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
<span ng-if="managerConfiguration.rules.decoder">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> Decoder files</p>
|
|
<p class="right-text">
|
|
|
|
|
|
</p>
|
|
</span>
|
|
<span ng-repeat="item in managerConfiguration.rules.decoder|orderBy">
|
|
<p> {{ item }} </p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
</md-card-content>
|
|
</md-card>
|
|
<md-card>
|
|
<md-card-content>
|
|
<h3>Rules</h3>
|
|
<span ng-if="managerConfiguration.rules.rule_dir">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> Rules directories</p>
|
|
</span>
|
|
<span ng-repeat="item in managerConfiguration.rules.rule_dir|orderBy">
|
|
<p> {{ item }} </p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
<span ng-if="managerConfiguration.rules.include">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold"> Rules files</p>
|
|
</span>
|
|
<div ng-repeat="item in managerConfiguration.rules.include" class="repeated-item" flex>
|
|
<p> {{ item }} </p>
|
|
</div>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
<span ng-if="managerConfiguration.rules.list">
|
|
<span layout="row" layout-align="space-between center">
|
|
<p style="font-weight: bold">CDB lists</p>
|
|
<p class="right-text">
|
|
|
|
|
|
</p>
|
|
</span>
|
|
<span ng-repeat="item in managerConfiguration.rules.list|orderBy">
|
|
<p> {{ item }} </p>
|
|
</span>
|
|
<md-divider></md-divider>
|
|
</span>
|
|
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
|
|
</md-content>
|
|
|
|
</md-content> |