Ensure verification of signed commits for new changes before merging

ID

signed_commits

Severity

high

Family

SCM

Tags

branch-protection, cicd-sec-09, cicd-security, non-reachable, security, supply-chain

Description

Ensure every commit in a pull request is signed and verified before merging.

Security

Signing commits, or requiring to sign commits, gives other users confidence about the origin of a specific code change. It ensures that the author of the change is not hidden and is verified by the version control system, thus the change comes from a trusted source.

Mitigation / Fix

For each repository in use, enforce the branch protection rule of requiring signed commits, and make sure only signed commits are capable of merging.