Skip to main content

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.

note

This rule requires Github Organization Discovery Evidence. See here for more details.

tip

Signed Evidence for this rule IS NOT required by default but is recommended.

warning

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:

  1. Checks the validity checks settings of the GitHub organization.
  2. 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

FieldValue
signedFalse
content_body_typegeneric
target_typedata
predicate_typehttp://scribesecurity.com/evidence/discovery/v0.1
labels- platform=github
- asset_type=organization