TMAegis
tdsql のその他のルール

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/

修正方法

修正方法: ガイダンスまたは IaC パッチ

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