Verify Repository Requires Commit Signoff
Type: Rule
ID: github-repo-web-commit-signoff
Source: v2/rules/github/repository/web-commit-signoff.yaml
Rego Source: web-commit-signoff.rego
Labels: GitHub, Repository
Verify contributors sign off on commits to the GitHub repository through the GitHub web interface.
This rule requires Github Repository Discovery Evidence. See here for more details.
Signed Evidence for this rule IS NOT required by default but is recommended.
Rule requires evaluation with a target. Without one, it will be disabled unless the --all-evidence
flag is provided.
Usage example
uses: github/repository/web-commit-signoff@v2
Mitigation
Ensure that the repository requires signoff on all commits made through the GitHub web interface, enhancing security and accountability.
Description
This rule checks if the repository requires signoff on all commits made through the GitHub web interface. It performs the following steps:
- Checks the repository settings for commit signoff.
- Verifies that the repository requires signoff on all commits made through the GitHub web interface.
Evidence Requirements:
- Evidence must be provided by the Scribe Platform's CLI tool through scanning GitHub repository settings.
Evidence Requirements
Field | Value |
---|---|
signed | False |
content_body_type | generic |
target_type | data |
predicate_type | http://scribesecurity.com/evidence/discovery/v0.1 |
labels | - platform=github - asset_type=repository |