TMAegis
Más reglas para tdsql

TMA-TDSQL-12.9

Ensure Access to KMS Configuration Interfaces Is Restricted

AltaNivel 1Revisión manualtdsql

Descripción

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ómo se verifica

Método de auditoría: Revisión manual

Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --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ómo se corrige

Método de corrección: Guía o parche de infraestructura

{ "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" }

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
tdsqlencryptionoss
Referencia
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 12.9 Ensure Access to KMS Configuration Interfaces Is Restricted