TMA-ALIBABA-1.8
Ensure RAM password policy requires at least one lowercase letter
설명
RAM password policies can be used to ensure password complexity. It is recommended that the password policy require at least one lowercase letter. Enhancing complexity of a password policy increases account resiliency against brute force logon attempts. Reads RequireLowercaseCharacters from aliyun ram GetPasswordPolicy. Read-only aliyun CLI calls; credentials and default region come from the CLI's normal profile (aliyun configure, ~/.aliyun/config.json or ALIBABA_CLOUD_* environment variables). JSON output is parsed with sed/awk. A missing CLI or credential fails the check.
점검 방법
감사 방식: 셸 명령
out=$(aliyun ram GetPasswordPolicy 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | sed -n 's/.*"RequireLowercaseCharacters"[[:space:]]*:[[:space:]]*"\{0,1\}\([^",}]*\)"\{0,1\}.*/\1/p' | head -n 1)
[ "$v" = true ] && echo compliant- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
aliyun ram SetPasswordPolicy --RequireLowercaseCharacters true (repeat the other current policy parameters, which SetPasswordPolicy resets), or RAM console > Settings > Security Settings > Password Strength Settings.
속성
- 운영 체제
- 모두
- 태그
- alibabaram
- 참고 자료
- CIS Alibaba Cloud Foundation Benchmark v2.0.1 - 1.8 Ensure RAM password policy requires at least one lowercase letter
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target alibaba