Skip to main content

Require Bitbucket Repository Discovery Evidence

Type: Rule
ID: bb-repo-exists
Source: v2/rules/bitbucket/repository/evidence-exists.yaml
Rego Source: evidence-exists.rego
Labels: Bitbucket, Repository

Verify the Bitbucket Repository exists as evidence.

note

This rule requires Bitbucket Repository Discovery Evidence. See here for more details.

tip

Evidence IS required for this rule and will fail if missing.

tip

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

warning

Rule requires evaluation with a target or an asset input. Without one, it will be disabled unless the --all-evidence flag is provided.

info

Rule is scoped by product and target.

Usage example

uses: bitbucket/repository/evidence-exists@v2

Evidence Requirements

FieldValue
filter-by['product', 'target']
signedFalse
content_body_typegeneric
target_typedata
predicate_typehttp://scribesecurity.com/evidence/discovery/v0.1
asset_platformbitbucket
asset_typerepo