TMAegisBeta
更多 alibaba 規則

Alibaba Cloud

TMA-ALIBABA-8.1

Ensure that Security Center is Advanced or Enterprise Edition

中等級 2自動化alibaba

說明

The Advanced or Enterprise Edition enables threat detection for network and endpoints, providing malware detection, webshell detection and anomaly detection in Security Center. The Advanced or Enterprise Edition allows for full protection to defend cloud threats. aliyun sas DescribeVersionConfig Version must be 3 (Enterprise), 5 (Advanced) or 7 (Ultimate). Run with a Security Center region (e.g. --region cn-shanghai or ap-southeast-1) in the CLI profile. 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.

檢查方式

稽核方法: Shell 指令

shell
out=$(aliyun sas DescribeVersionConfig 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | sed -n 's/^[[:space:]]*"Version"[[:space:]]*:[[:space:]]*\([0-9]\{1,\}\).*/\1/p' | head -n 1)
case "$v" in 3|5|7) echo compliant ;; *) echo "edition code ${v:-unknown}" ;; esac
預期輸出
compliant

修補方式

修補方法: 操作指南或基礎設施修補檔

Upgrade Security Center to the Advanced, Enterprise or Ultimate edition (Security Center console > Upgrade).

屬性

作業系統
不限
標籤
alibabasecurity-center
參考資料
CIS Alibaba Cloud Foundation Benchmark v2.0.1 - 8.1 Ensure that Security Center is Advanced or Enterprise Edition

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target alibaba --level 2