Verify secret_scanning_validity_checks
Setting in security_and_analysis
Type: Rule
ID: github-org-validity-checks-sa
Source: v2/rules/github/org/validity-checks-sa.yaml
Rego Source: validity-checks-sa.rego
Labels: GitHub, Organization
Verify validity checks for secrets are configured for the GitHub organization.
This rule requires Github Organization 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/org/validity-checks-sa@v2
Mitigation
Ensure that the Validity checks under GitHub organization setting is enabled to maintain the integrity of the organization’s repositories, preventing potential issues and vulnerabilities.
Description
This rule checks if the validity_checks
under GitHub organization setting is enabled to ensure the integrity of the organization’s repositories.
It performs the following steps:
- Checks the validity checks settings of the GitHub organization.
- Verifies that the validity checks setting is enabled.
Evidence Requirements:
- Evidence must be provided by the Scribe Platform's CLI tool through scanning GitHub organization resources.
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=organization |