blob: a81b1f652b2d0b3a95ee17e846e2c0bdad7dae37 [file] [log] [blame]
Dmitry Teselkine9420e72018-04-03 13:49:39 +03001# 5.2.3 Ensure SSH LogLevel is set to INFO (Scored)
2#
3# Profile Applicability
4# ---------------------
5# - Level 1 - Server
6# - Level 1 - Workstation
7#
8# Description
9# -----------
10# The INFO parameter specifies that login and logout activity will be logged.
11#
12# Rationale
13# ---------
14# SSH provides several logging levels with varying amounts of verbosity. DEBUG is specifically
15# not recommended other than strictly for debugging SSH communications since it provides
16# so much data that it is difficult to identify important security information. INFO level is the
17# basic level that only records login activity of SSH users. In many situations, such as Incident
18# Response, it is important to determine when a particular user was active on a system. The
19# logout record can eliminate those users who disconnected, which helps narrow the field.
20#
21# Audit
22# -----
23# Run the following command and verify that output matches:
24#
25# # grep "^LogLevel" /etc/ssh/sshd_config
26# LogLevel INFO
27#
28# Remediation
29# -----------
30# Edit the /etc/ssh/sshd_config file to set the parameter as follows:
31#
32# LogLevel INFO
33
34parameters:
35 openssh:
36 server:
37 log_level: INFO
38