Replace not so clear expressions, fix some grammar typos

This commit is contained in:
Jesús Ángel 2018-10-29 15:09:51 +01:00
parent 3c184f66a0
commit de18439d32
32 changed files with 97 additions and 98 deletions

View File

@ -6,7 +6,7 @@
<i class="fa fa-fw fa-info-circle" aria-hidden="true"></i> <span class="wz-headline-title">Configuration not available</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="column" class="wz-padding-top-10">
<p ng-if="error === 'not-present'">This section is not present on the Wazuh configuration file.</p>
<p ng-if="error === 'not-present'">This section is not present on the configuration file.</p>
<p ng-if="error !== 'not-present'">There was a problem while fetching the configuration for this section.</p>
</div>
<div layout="column" class="wz-padding-top-10">

View File

@ -34,7 +34,7 @@ export function parseValue(key, item, instancePath) {
(key === 'description' || (key.value && key.value === 'description')) &&
!item.description
) {
return '---';
return '-';
}
const isComposedString = typeof key === 'string' && key.includes('.');
const isComposedObject =
@ -42,8 +42,8 @@ export function parseValue(key, item, instancePath) {
if (isComposedString || isComposedObject) {
const split = isComposedString ? key.split('.') : key.value.split('.');
const [first, second] = split;
return item[first] && item[first][second] ? item[first][second] : '---';
return item[first] && item[first][second] ? item[first][second] : '-';
} else {
return checkIfArray(item[key.value || key]) || '---';
return checkIfArray(item[key.value || key]) || '-';
}
}

View File

@ -4,7 +4,7 @@
<wz-menu ng-init="menuNavItem = 'agents'"></wz-menu>
<!-- End top navbar section -->
<!-- Navigation section (Breadcrumbs, Discover, etc) -->
<!-- Navigation section -->
<div layout="row" layout-align="start center">
<!-- Breadcrumbs -->
<div layout="row" layout-padding ng-if="agent">
@ -41,7 +41,7 @@
<span> / </span>
<span class="wz-text-link cursor-pointer" ng-click="switchConfigurationTab('welcome')">{{ tabNames[tab] }}</span>
<span> / </span>
<span>{{ tabNames[configurationTab] }}</span>
<span>{{ tabNames[configurationTab] === 'Alerts' ? 'Labels' : tabNames[configurationTab] }}</span>
</div>
</div>
<!-- End breadcrumbs -->

View File

@ -5,7 +5,7 @@
<div>
<span class="font-size-18">Agentless</span>
</div>
<span class="md-subheader">Run integrity checks on devices such as routers, firewalls, switches, etc.</span>
<span class="md-subheader">Run integrity checks on devices such as routers, firewalls and switches.</span>
</div>
<!-- End headline -->
@ -34,7 +34,7 @@
<div>
<span class="font-size-16">Devices list</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">List of monitored devices that don't use the Wazuh agent component</span>
<span class="md-subheader small">List of monitored devices that don't use the agent</span>
</div>
</div>
<span flex></span>

View File

@ -3,9 +3,11 @@
<!-- Headline -->
<div layout="column" layout-padding>
<div>
<span class="font-size-18">Alerts</span>
<span ng-if="!agent || agent.id === '000'" class="font-size-18">Alerts</span>
<span ng-if="agent && agent.id !== '000'" class="font-size-18">Labels</span>
</div>
<span class="md-subheader">Configure everything related to the alerts and their format</span>
<span ng-if="!agent || agent.id === '000'" class="md-subheader">Settings related to the alerts and their format</span>
<span ng-if="agent && agent.id !== '000'" class="md-subheader">User-defined information about the agent included in alerts</span>
</div>
<!-- End headline -->

View File

@ -48,14 +48,14 @@
</thead>
<tbody class="wz-word-wrap">
<tr ng-repeat="item in currentConfig['csyslog-csyslog'].syslog_output">
<td>{{ item.server || 'n/a' }}</td>
<td>{{ item.port || '514' }}</td>
<td>{{ item.server }}</td>
<td>{{ item.port }}</td>
<td>{{ item.level }}</td>
<td>{{ item.format || 'default' }}</td>
<td>{{ item.use_fqdn || 'no' }}</td>
<td>{{ item.rule_id || 'n/a' }}</td>
<td>{{ item.group || 'n/a' }}</td>
<td>{{ item.location || 'n/a' }}</td>
<td>{{ item.rule_id || 'all' }}</td>
<td>{{ item.group || 'all' }}</td>
<td>{{ item.location || 'all' }}</td>
</tr>
</tbody>
</table>

View File

@ -70,6 +70,10 @@
label="Parse only logs from this date onwards"
value="currentConfig['aws-s3'].buckets[selectedItem].only_logs_after">
</wz-config-item>
<wz-config-item
label="Remove bucket logs after being read"
value="currentConfig['aws-s3'].buckets[selectedItem].remove_from_bucket || 'yes'">
</wz-config-item>
<wz-config-item
label="Limit log parsing to these regions"
value="currentConfig['aws-s3'].buckets[selectedItem].regions">

View File

@ -32,7 +32,7 @@
</wz-config-item>
<wz-config-item
label="Remove bucket logs after being read"
value="'n/a'">
value="currentConfig['aws-s3'].remove_from_bucket || 'yes'">
</wz-config-item>
<wz-config-item
label="Skip logs that can't be processed"

View File

@ -5,7 +5,7 @@
<div>
<span class="font-size-18">Client configuration</span>
</div>
<span class="md-subheader">Configure the connection with the manager</span>
<span class="md-subheader">Settings related to the connection with the manager</span>
</div>
<!-- End headline -->
@ -65,11 +65,12 @@
</wz-config-item>
<wz-config-item
label="Configuration profiles"
value="currentConfig['agent-client'].client['config-profile'] || 'n/a'">
value="currentConfig['agent-client'].client['config-profile'] || '-'">
</wz-config-item>
<wz-config-item
label="IP address used to communicate with the manager"
value="currentConfig['agent-client'].client.local_ip || 'n/a'">
ng-if="currentConfig['agent-client'].client.local_ip"
label="IP address used when the agent has multiple network interfaces"
value="currentConfig['agent-client'].client.local_ip">
</wz-config-item>
</div>
@ -94,7 +95,7 @@
</thead>
<tbody class="wz-word-wrap">
<tr ng-repeat="item in currentConfig['agent-client'].client.server">
<td>{{ item.address || '---' }}</td>
<td>{{ item.address || '-' }}</td>
<td>{{ item.port || '1514' }}</td>
<td>{{ item.protocol || 'udp' }}</td>
</tr>

View File

@ -7,7 +7,6 @@
<span ng-if="currentConfig['com-cluster'] && currentConfig['com-cluster'].disabled === 'no'" class="wz-agent-status-indicator small teal">Enabled</span>
<span ng-if="currentConfig['com-cluster'] && isString(currentConfig['com-cluster'])" class="wz-agent-status-indicator small red">Disabled</span>
</div>
<span class="md-subheader">Availability and scalability enhancement of the Wazuh service</span>
</div>
<!-- End headline -->
@ -34,10 +33,7 @@
<md-card-content>
<div layout="row" layout-align="start center">
<div>
<span class="font-size-16">All settings</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">These settings apply to the whole Wazuh cluster</span>
</div>
<span class="font-size-16">Master node settings</span>
</div>
<span flex></span>
<span ng-class="JSONContent ? 'wz-text-active' : ''" class="wz-text-link small" ng-click="getJSON()">JSON</span>

View File

@ -1,6 +1,6 @@
<div flex="auto" layout="column" ng-controller="managementConfigurationController" ng-if="tab === 'configuration'" ng-init="switchConfigurationTab('welcome')">
<!-- Navigation section (Breadcrumbs, etc) -->
<!-- Navigation section -->
<div layout="row" layout-align="start center">
<!-- Breadcrumbs -->
<div layout="row" layout-padding>

View File

@ -31,7 +31,7 @@
<div>
<span class="font-size-16">Main settings</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">These settings indicate the database where Wazuh alerts are stored</span>
<span class="md-subheader small">These settings indicate the database where alerts are stored</span>
</div>
</div>
<span flex></span>

View File

@ -5,7 +5,7 @@
<div>
<span class="font-size-18">Global configuration</span>
</div>
<span class="md-subheader">Global and remote settings that apply to the whole Wazuh cluster</span>
<span class="md-subheader">Global and remote settings</span>
</div>
<!-- End headline -->

View File

@ -60,11 +60,11 @@
value="currentConfig['analysis-global'].global.custom_alert_output">
</wz-config-item>
<wz-config-item
label="Write Wazuh internal logs in plain text"
label="Write internal logs in plain text"
value="currentConfig['com-logging'].logging.plain">
</wz-config-item>
<wz-config-item
label="Write Wazuh internal logs in JSON format"
label="Write internal logs in JSON format"
value="currentConfig['com-logging'].logging.json">
</wz-config-item>
<wz-config-item
@ -164,9 +164,6 @@
<div ng-if="!agent || agent.id === '000'" class="wz-margin-top-10">
<span class="font-size-16">Prelude and ZeroMQ output</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">Configure custom Prelude or ZeroMQ outputs</span>
</div>
</div>
<md-divider ng-if="!agent || agent.id === '000'" class="wz-margin-top-10"></md-divider>

View File

@ -48,21 +48,21 @@
</thead>
<tbody class="wz-word-wrap">
<tr ng-repeat="item in currentConfig['request-remote'].remote">
<td>{{ item.connection || '---' }}</td>
<td>{{ item.port || '---' }}</td>
<td>{{ item.connection || '-' }}</td>
<td>{{ item.port || '-' }}</td>
<td>{{ item.protocol || 'udp' }}</td>
<td>{{ item.ipv6 || 'n/a' }}</td>
<td>{{ item.ipv6 || '-' }}</td>
<td>
<ul ng-if="item['allowed-ips']">
<li ng-repeat="ip in item['allowed-ips']">{{ ip }}</li>
</ul>
<span ng-if="!item['allowed-ips']">n/a</span>
<span ng-if="!item['allowed-ips']">-</span>
</td>
<td>
<ul ng-if="item['denied-ips']">
<li ng-repeat="ip in item['denied-ips']">{{ ip }}</li>
</ul>
<span ng-if="!item['denied-ips']">n/a</span>
<span ng-if="!item['denied-ips']">-</span>
</td>
<td>{{ item.local_ip || 'All interfaces' }}</td>
<td>{{ item.queue_size || '16384' }}</td>

View File

@ -73,7 +73,7 @@
<div class="wz-margin-top-10" ng-if="integrations['slack']">
<span class="font-size-16">Slack</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">Get alerts from your Wazuh server directly on your Slack workspace</span>
<span class="md-subheader small">Get alerts directly on your Slack workspace</span>
</div>
</div>
<md-divider class="wz-margin-top-10" ng-if="integrations['slack']"></md-divider>

View File

@ -5,7 +5,7 @@
<div>
<span class="font-size-16">General</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">These settings are global to the whole section</span>
<span class="md-subheader small">The settings shown below are applied globally</span>
</div>
</div>
<span flex></span>
@ -28,11 +28,11 @@
</wz-config-item>
<wz-config-item
label="Time of day to run integrity scans"
value="currentConfig['syscheck-syscheck'].syscheck.scan_time || 'n/a'">
value="currentConfig['syscheck-syscheck'].syscheck.scan_time || '-'">
</wz-config-item>
<wz-config-item
label="Day of the week to run integrity scans"
value="currentConfig['syscheck-syscheck'].syscheck.scan_day || 'n/a'">
value="currentConfig['syscheck-syscheck'].syscheck.scan_day || '-'">
</wz-config-item>
<wz-config-item
ng-if="!agent || agent.id === '000'"
@ -65,7 +65,7 @@
</wz-config-item>
<wz-config-item
label="Command to prevent prelinking"
value="currentConfig['syscheck-syscheck'].syscheck.prefilter_cmd || 'n/a'">
value="currentConfig['syscheck-syscheck'].syscheck.prefilter_cmd || '-'">
</wz-config-item>
</div>

View File

@ -7,7 +7,7 @@
<span ng-if="currentConfig && currentConfig.syscollector && currentConfig.syscollector.disabled === 'no'" class="wz-agent-status-indicator small teal">Enabled</span>
<span ng-if="(currentConfig && currentConfig.syscollector && currentConfig.syscollector.disabled === 'yes') || (currentConfig && !currentConfig.syscollector)" class="wz-agent-status-indicator small red">Disabled</span>
</div>
<span class="md-subheader">Gather relevant information about your system OS, hardware, packages, etc.</span>
<span class="md-subheader">Gather relevant information about your system OS, hardware, networking and packages</span>
</div>
<!-- End headline -->

View File

@ -20,7 +20,7 @@
<md-card-content flex layout="column">
<div layout="row" layout-align="start center">
<div>
<span class="font-size-16">Collected log files</span>
<span class="font-size-16">Logs files and command monitoring</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">List of log files that will be analyzed</span>
</div>
@ -49,43 +49,43 @@
<div flex layout="column" ng-if="currentConfig['logcollector-localfile'].localfile.length">
<div flex="auto" class="wz-item-detail">
<wz-config-item
label="Log format"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].logformat">
</wz-config-item>
<wz-config-item
label="Log location"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].file || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem].file || '-'">
</wz-config-item>
<wz-config-item
label="Run this command"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].command || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem].command || '-'">
</wz-config-item>
<wz-config-item
label="Command alias"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].alias || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem].alias || '-'">
</wz-config-item>
<wz-config-item
label="Interval between command executions"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].frequency || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem].frequency || '-'">
</wz-config-item>
<wz-config-item
label="Only receive logs occured after start"
value="currentConfig['logcollector-localfile'].localfile[selectedItem]['only-future-events'] || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem]['only-future-events'] || '-'">
</wz-config-item>
<wz-config-item
label="Filter logs using this XPATH query"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].query || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem].query || '-'">
</wz-config-item>
<wz-config-item
label="Log labels"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].labels || 'n/a'">
value="currentConfig['logcollector-localfile'].localfile[selectedItem].labels || '-'">
</wz-config-item>
<wz-config-item
is-array="true"
label="Redirect output to this socket"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].target || 'agent'">
</wz-config-item>
<wz-config-item
label="Log format"
value="currentConfig['logcollector-localfile'].localfile[selectedItem].log_format || 'n/a'">
</wz-config-item>
<wz-config-item
is-array="true"
label="Log collection output format"

View File

@ -51,11 +51,11 @@
<div flex="auto" class="wz-item-detail">
<wz-config-item
label="Socket name"
value="currentConfig['logcollector-socket'].target[selectedItem].name || 'n/a'">
value="currentConfig['logcollector-socket'].target[selectedItem].name || '-'">
</wz-config-item>
<wz-config-item
label="Socket location"
value="currentConfig['logcollector-socket'].target[selectedItem].location || 'n/a'">
value="currentConfig['logcollector-socket'].target[selectedItem].location || '-'">
</wz-config-item>
<wz-config-item
label="UNIX socket protocol"
@ -63,7 +63,7 @@
</wz-config-item>
<wz-config-item
label="Prefix to place before the message"
value="currentConfig['logcollector-socket'].target[selectedItem].prefix || 'n/a'">
value="currentConfig['logcollector-socket'].target[selectedItem].prefix || '-'">
</wz-config-item>
</div>

View File

@ -38,7 +38,7 @@
<ul>
<li ng-repeat="profile in item.profile">{{profile}}</li>
</ul>
<span ng-if="!item.profile">n/a</span>
<span ng-if="!item.profile">-</span>
</td>
<td>{{ item.type }}</td>
<td>{{ item.timeout }}</td>

View File

@ -7,7 +7,7 @@
<span ng-if="currentConfig['auth-auth'] && currentConfig['auth-auth'].auth && currentConfig['auth-auth'].auth.disabled === 'no'" class="wz-agent-status-indicator small teal">Enabled</span>
<span ng-if="currentConfig['auth-auth'] && isString(currentConfig['auth-auth'])" class="wz-agent-status-indicator small red">Disabled</span>
</div>
<span class="md-subheader">Automatic agent registration using the <span class="wz-text-monospace">ossec-authd</span> binary</span>
<span class="md-subheader">Automatic agent registration service</span>
</div>
<!-- End headline -->

View File

@ -36,12 +36,12 @@
</thead>
<tbody class="wz-word-wrap">
<tr ng-repeat="item in currentConfig['vulnerability-detector'].feeds">
<td>{{ item.name || '---' }}</td>
<td>{{ item.version || '---' }}</td>
<td>{{ item.interval || '---' }}</td>
<td>{{ item.path || '---' }}</td>
<td>{{ item.alternative.url || '---' }}</td>
<td>{{ item.alternative.port || '---' }}</td>
<td>{{ item.name || '-' }}</td>
<td>{{ item.version || '-' }}</td>
<td>{{ item.interval || '-' }}</td>
<td>{{ item.path || '-' }}</td>
<td>{{ item.alternative.url || '-' }}</td>
<td>{{ item.alternative.port || '-' }}</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,7 @@
<!-- Headline -->
<div layout="column" layout-padding>
<div>
<span class="font-size-18">Wazuh commands</span>
<span class="font-size-18">Commands</span>
</div>
<span class="md-subheader">Configuration options of the Command wodle</span>
</div>
@ -36,7 +36,7 @@
<md-card-content flex layout="column">
<div layout="row" layout-align="start center">
<div>
<span class="font-size-16">Wazuh command definitions</span>
<span class="font-size-16">Command definitions</span>
<div class="wz-margin-top-10">
<span class="md-subheader small">Find here all the currently defined commands</span>
</div>

View File

@ -9,7 +9,6 @@
</div>
<span class="font-size-18" ng-show="!agent || agent.id === '000'">
<i class="fa fa-fw fa-cog" aria-hidden="true"></i> Configuration</span>
<span class="md-subheader">Check your Wazuh cluster configuration</span>
</div>
<!-- End headline -->
@ -30,19 +29,19 @@
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('global-configuration', [{component:'analysis',configuration:'global'},{component:'request',configuration:'remote'},{component:'com',configuration:'logging'}])">Global configuration</h3>
<p>Global and remote settings that apply to the whole Wazuh cluster</p>
<p>Global and remote settings</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('cluster', [{component:'com',configuration:'cluster'}])">Cluster</h3>
<p>Availability and scalability enhancement of the Wazuh service</p>
<p>Master node configuration</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('registration-service', [{component:'auth',configuration:'auth'}])">Registration service</h3>
<p>Automatic agent registration using the <span class="wz-text-monospace">ossec-authd</span> binary</p>
<p>Automatic agent registration service</p>
</div>
</md-list-item>
<!-- <md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line">
@ -62,7 +61,7 @@
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="agent && agent.id !== '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('client', [{component:'agent',configuration:'client'}])">Client configuration</h3>
<p>Configure the connection with the manager</p>
<p>Settings related to the connection with the manager</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="agent && agent.id !== '000'">
@ -71,6 +70,12 @@
<p>Agent bucket parameters to avoid event flooding</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="agent && agent.id !== '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('alerts',[{component:'agent',configuration:'labels'}])">Labels</h3>
<p>User-defined information about the agent included in alerts</p>
</div>
</md-list-item>
<!-- End agent sections -->
</md-list>
@ -79,22 +84,16 @@
<!-- End main configurations card -->
<!-- Alerts and output management card -->
<md-card class="wz-md-card">
<md-card class="wz-md-card" ng-if="!agent || agent.id === '000'">
<md-card-content>
<span class="font-size-16">Alerts and output management</span>
<md-divider class="wz-margin-top-10"></md-divider>
<span class="font-size-16" ng-if="!agent || agent.id === '000'">Alerts and output management</span>
<md-divider class="wz-margin-top-10"></md-divider>
<md-list layout="row" layout-wrap>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('alerts',[{component:'analysis',configuration:'alerts'},{component:'analysis',configuration:'labels'},{component:'mail',configuration:'alerts'},{component:'monitor',configuration:'reports'}, {component:'csyslog',configuration:'csyslog'}])">Alerts</h3>
<p>Configure everything related to the alerts and their format</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="agent && agent.id !== '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('alerts',[{component:'agent',configuration:'labels'}])">Alerts</h3>
<p>Configure everything related to the alerts and their format</p>
<p>Settings related to the alerts and their format</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
@ -168,7 +167,7 @@
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchWodle('syscollector')">Inventory data</h3>
<p>Gather relevant information about your system OS, hardware, packages, etc.</p>
<p>Gather relevant information about your system OS, hardware, networking and packages</p>
</div>
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
@ -185,7 +184,7 @@
</md-list-item>
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchWodle('command')">Wazuh commands</h3>
<h3 class="wz-text-link" ng-click="switchWodle('command')">Commands</h3>
<p>Configuration options of the Command wodle</p>
</div>
</md-list-item>
@ -217,7 +216,7 @@
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line" ng-if="!agent || agent.id === '000'">
<div class="md-list-item-text">
<h3 class="wz-text-link" ng-click="switchConfigTab('agentless',[{component:'agentless',configuration:'agentless'}])">Agentless</h3>
<p>Run integrity checks on devices such as routers, firewalls, switches, etc.</p>
<p>Run integrity checks on devices such as routers, firewalls and switches</p>
</div>
</md-list-item>
</md-list>

View File

@ -4,7 +4,7 @@
<wz-menu ng-init="menuNavItem = 'manager'"></wz-menu>
<!-- End top navbar section -->
<!-- Navigation section (Breadcrumbs, etc) -->
<!-- Navigation section -->
<div layout="row" layout-align="start center" ng-if="tab !== 'monitoring' && tab !== 'configuration'">
<!-- Breadcrumbs -->
<div layout="row" layout-padding>

View File

@ -71,7 +71,7 @@
<div></div>
</div>
<!-- Navigation section (Breadcrumbs, etc) -->
<!-- Navigation section -->
<div layout="row" layout-align="start center" ng-if="!loading">
<div layout="row" layout-padding>
<div ng-if="!showConfig && !showNodes">

View File

@ -10,16 +10,16 @@
<md-card flex class="wz-metric-color wz-md-card wz-no-padding">
<md-card-content layout="row" class="wz-padding-metric">
<div class="wz-text-truncatable" flex>
Total agents: <span class="wz-text-bold">{{agentsCountTotal >= 0 ? agentsCountTotal : '---'}}</span>
Total agents: <span class="wz-text-bold">{{agentsCountTotal >= 0 ? agentsCountTotal : '-'}}</span>
</div>
<div class="wz-text-truncatable" flex>
Active agents: <span class="wz-text-bold">{{agentsCountActive >= 0 ? agentsCountActive : '---'}}</span>
Active agents: <span class="wz-text-bold">{{agentsCountActive >= 0 ? agentsCountActive : '-'}}</span>
</div>
<div class="wz-text-truncatable" flex>
Disconnected agents: <span class="wz-text-bold">{{agentsCountDisconnected >= 0 ? agentsCountDisconnected : '---'}}</span>
Disconnected agents: <span class="wz-text-bold">{{agentsCountDisconnected >= 0 ? agentsCountDisconnected : '-'}}</span>
</div>
<div class="wz-text-truncatable" flex>
Never connected agents: <span class="wz-text-bold">{{agentsCountNeverConnected >= 0 ? agentsCountNeverConnected : '---'}}</span>
Never connected agents: <span class="wz-text-bold">{{agentsCountNeverConnected >= 0 ? agentsCountNeverConnected : '-'}}</span>
</div>
</md-card-content>
</md-card>

View File

@ -4,7 +4,7 @@
<wz-menu ng-init="menuNavItem = 'overview'"></wz-menu>
<!-- End top navbar section -->
<!-- Navigation section (Breadcrumbs, Discover, etc) -->
<!-- Navigation section -->
<div layout="row" layout-align="start center">
<!-- Breadcrumbs -->
<div layout="row" layout-padding>

View File

@ -10,7 +10,7 @@
</div>
<!-- End loading ring -->
<!-- Navigation section (Breadcrumbs, etc) -->
<!-- Navigation section -->
<div layout="row" layout-align="start center" ng-if="!load">
<!-- Breadcrumbs -->
<div layout="row" layout-padding>

View File

@ -475,7 +475,7 @@ export class WazuhReportingCtrl {
} catch (error) {
continue;
}
const str = Array(6).fill('---');
const str = Array(6).fill('-');
str[0] = item;
if (data && data.name) str[1] = data.name;
if (data && data.ip) str[2] = data.ip;

View File

@ -41,7 +41,7 @@ export default (document, items, columns, keys, title, givenRows = false) => {
const modifiedRows = [];
if (!givenRows) {
for (const item of items) {
const str = new Array(rowSize).fill('---');
const str = new Array(rowSize).fill('-');
for (let i = 0; i < keys.length; i++) {
if (keys[i].includes('.')) {
const parent = keys[i].split('.')[0];