TMAegis
cos 관련 규칙 더 보기

TMA-COS-1.5.1.3

Ensure remote login warning banner is configured properly

보통레벨 1자동cos

설명

The contents of the /etc/issue.net file are displayed to users prior to login for remote connections from configured services. Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. If mingetty(8) supports the following options, they display operating system information: \m - machine architecture \r - operating system release \s - operating system name \v - operating system version Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place. Displaying OS and patch level information in login banners also has the side effect of providing detailed syste...

점검 방법

감사 방식: 셸 명령

shell
os=$(grep "^ID=" /etc/os-release | cut -d= -f2 | tr -d '"'); [ -s /etc/issue.net ] && ! grep -Eiq "(\\v|\\r|\\m|\\s|$os)" /etc/issue.net && echo compliant || echo noncompliant
예상 출력
compliant

조치 방법

조치 방식: 가이드 또는 인프라 패치

Edit the /etc/issue.net file with the appropriate contents according to your site policy, remove any instances of \m , \r , \s , \v or references to the OS platform # echo "Authorized uses only. All activity may be monitored and reported." > /etc/issue.net /etc is stateless on Container-Optimized OS. Therefore, the steps mentioned above needs to be performed after every boot.

속성

운영 체제
모두
태그
container-optimized-oscoslogging
참고 자료
CIS Google Container-Optimized OS Benchmark v1.2.0 - 1.5.1.3 Ensure remote login warning banner is configured properly

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target cos