Azure Container Linux
TMA-AZURE-CONTAINER-LINUX-5.3.1
Ensure re-authentication for privilege escalation is not disabled globally
높음레벨 1자동azure-container-linux
설명
The operating system must be configured so that users must re-authenticate for privilege escalation. Audit: Passes when no uncommented !authenticate tag exists in /etc/sudoers or /etc/sudoers.d.
점검 방법
감사 방식: 셸 명령
shell
grep -rEq "^[^#]*!authenticate" /etc/sudoers /etc/sudoers.d 2>/dev/null && echo noncompliant || echo compliant- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Configure the operating system to require users to reauthenticate for privilege escalation. Based on the outcome of the audit procedure, use visudo -f <PATH TO FILE> to edit the relevant sudoers file. Remove any occurrences of !authenticate tags in the file(s).
속성
- 운영 체제
- 모두
- 태그
- azure-container-linuxsudo
- 참고 자료
- CIS Azure Container Linux Benchmark v1.0.0 - 5.3.1 Ensure re-authentication for privilege escalation is not disabled globally
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target azure-container-linux