TMAegisベータ
supply-chain のその他のルール

Software supply chain

TMA-SSC-1.1.16

Ensure force push code to branches is denied

高レベル 1手動レビューsupply-chain

説明

The “force push” option allows users with “push” permissions to force their changes directly to the branch without a pull request, and thus should be disabled. The “force push” option allows users to override the existing code with their own code. This can lead to both intentional and unintentional data loss, as well as data infection with malicious code. Disabling the “force push” option prohibits users from forcing their changes to the main branch, which ultimately prevents malicious code from entering source code. Note Users cannot “force push” to protected branches.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

For each repository in use, validate that no one can “force push” code.

修正方法

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

For each repository in use, block the option to “force push” code.

プロパティ

オペレーティングシステム
すべて
タグ
branch-protectiondevsecopssupply-chain
参照
CIS Software Supply Chain Security Guide Benchmark v1.0.0 - 1.1.16 Ensure force push code to branches is denied