Skip to main content

Verify secret_scanning_push_protection_custom_link_enabled Setting

Type: Rule
ID: github-org-pp-custom-link
Source: v2/rules/github/org/pp-custom-link.yaml
Rego Source: pp-custom-link.rego
Labels: GitHub, Organization

Verify secret scanning push protection custom link is enabled in 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/pp-custom-link@v2

Evidence Requirements

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

Rule Parameters (with)

ParameterDefault
desired_valueTrue