TMAegis베타
cockroachdb 관련 규칙 더 보기

CockroachDB

TMA-COCKROACHDB-5.3

Control Key Data Usage for Multi-Region Clusters with Data Localization Restrictions

보통레벨 1수동 검토cockroachdb

설명

In self-hosted CockroachDB multi-region clusters, organizations must ensure that Personally Identifiable Information (PII) or other regulated data is not used as part of primary key constraints or secondary indexes. In CockroachDB, primary keys define the primary index, and primary key columns are implicitly included in all secondary indexes. When a column is included in a primary key or index, its values are: 1.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

If the cluster uses multi-region features (SHOW REGIONS FROM DATABASE; REGIONAL BY ROW / GLOBAL tables), identify tables holding PII subject to data-localization rules and review SHOW CREATE TABLE for each: PII must not be used in primary keys or secondary index keys (key data is replicated to meta ranges in all regions). Single-region clusters are not applicable.

조치 방법

조치 방식: 가이드 또는 인프라 패치

1. Replace PII-based keys with surrogate keys Refactor schemas so that primary keys use surrogate identifiers instead of PII. CockroachDB recommends: - Using UUID-typed columns with default values generated by gen_random_uuid() for single-column primary keys. - Using composite primary keys where the leading column is a well-distributed, non-sensitive identifier. Ensure PII columns are stored as regular, non-indexed fields where possible.

속성

운영 체제
모두
태그
cockroachdbdata-protection
참고 자료
CIS CockroachDB v25.x Benchmark v1.0.0 - 5.3 Control Key Data Usage for Multi-Region Clusters with Data Localization Restrictions