UCF STIG Viewer Logo

The Juniper EX switch must be configured to generate log records for a locally developed list of auditable events.


Overview

Finding ID Version Rule ID IA Controls Severity
V-253939 JUEX-NM-000620 SV-253939r843850_rule Medium
Description
Auditing and logging are key components of any security architecture. Logging the actions of specific events provides a means to investigate an attack; to recognize resource utilization or capacity thresholds; or to identify an improperly configured network device. If auditing is not comprehensive, it will not be useful for intrusion monitoring, security investigations, and forensic analysis.
STIG Date
Juniper EX Series Switches Network Device Management Security Technical Implementation Guide 2022-08-31

Details

Check Text ( C-57391r843848_chk )
Determine if the network device generates audit log events for a locally developed list of auditable events.

Verify audit logging is enabled.
[edit system syslog]
file {
any info;
}
host {
any info;
}
time-format year;

Note: Without the "structured-data" directive (as shown), syslog outputs in standard format. Add the "structured-data" command to all files and external syslog servers requiring that format. For example:
[edit system syslog]
file {
any info;
structured-data;
}

If the logging facility and level is too broad, Junos supports REGEX or string match conditions to filter events. If used, verify the match conditions capture the required events.
[edit system syslog]
file {
any info;
match ;
-or-
match-strings [ "string 1" "string 2" ];
}
Note: When using match conditions, it may be necessary to use the "any" (debug) severity level, but this should not generate overwhelming numbers of messages because the filter will ignore all unmatched events.

If the network device is not configured to generate audit log events for a locally developed list of auditable events, this is a finding.
Fix Text (F-57342r843849_fix)
Configure the network device to generate audit log events for a locally developed list of auditable events.

set system syslog file messages any info
set system syslog file structured-data << (Optional) Only if structured data format is required
set system syslog host any info
set system syslog host structured-data << (Optional) Only if structured data format is required
set system syslog time-format year

If using REGEX or string match conditions:
set system syslog file any
set system syslog file match
-or-
set system syslog file match-strings [ "string 1" "string 2" ]