TMAegis
Thêm quy tắc cho tdsql

TMA-TDSQL-12.9

Ensure Access to KMS Configuration Interfaces Is Restricted

CaoCấp 1Xem xét thủ côngtdsql

Mô tả

The KMS configuration interfaces (TDSQL.GetKmsConfig, TDSQL.CreateKmsConfig) involve master key (CMK) management; abuse can defeat the entire cluster's encryption. OSS should: Include the KMS interfaces in interface_mask so only privileged users can invoke them. Mask the keyring_kms_config field in return values in the audit log (see property_mask in oss.json:230-237).

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

# 1. Confirm the KMS interfaces are included in the mask grep 'TDSQL.GetKmsConfig\|TDSQL.CreateKmsConfig' /path/to/tdsql/conf/oss.json # 2. Confirm the KMS configuration field is included in response masking grep 'keyring_kms_config' /path/to/tdsql/conf/oss.json # 3. Verify KMS service health (via the OSS KMS status query interface)

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

{ "name": "interface_mask", "value": "...,TDSQL.GetKmsConfig,TDSQL.CreateKmsConfig" }, { "name": "property_mask", "value": "pwd,password,secretid,secretkey,token,secret_id,secret_key,ca_cert,server_cert,se rver_key,client_cert,client_key,keyring_kms_config" }

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
tdsqlencryptionoss
Tham chiếu
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 12.9 Ensure Access to KMS Configuration Interfaces Is Restricted