TDSQL
TMA-TDSQL-2.9
Ensure a DDL Change Management Process Is Established
낮음레벨 2수동 검토tdsql
설명
Schema changes (DDL) should follow a formal change management process. TDSQL specifies SQL files in the sql/ directory named V[version]_[batch]__[description].sql, which are required to be idempotent and re-entrant.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.
# Verify that SQL change files follow the naming convention ls /path/to/tdsql/sql/*/V*.sql # Verify that changes are under version control git log --oneline /path/to/tdsql/sql/
조치 방법
조치 방식: 가이드 또는 인프라 패치
Establish a DDL change management policy: Submit all changes as SQL files in the V[version]_[batch]__[description].sql format Changes must be idempotent Require review and approval before deployment Test in a non-production environment first
속성
- 운영 체제
- 모두
- 태그
- tdsqlchange-management
- 참고 자료
- CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.9 Ensure a DDL Change Management Process Is Established