Skip to main content

Verify Exposed Credentials

Type: Rule
ID: jenkins-exposed-credentials
Source: v2/rules/jenkins/folder/exposed-credentials.yaml
Rego Source: exposed-credentials.rego
Labels: Jenkins, Folder

Verify there are no exposed credentials.

note

This rule requires 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: jenkins/folder/exposed-credentials@v2

Mitigation

Ensure that there are no exposed credentials in the Jenkins folder to reduce the risk of unauthorized access.

Description

This rule ensures that there are no exposed credentials in the Jenkins folder. It performs the following steps:

  1. Checks the Jenkins folder for exposed credentials.
  2. Verifies that there are no exposed credentials.

Evidence Requirements:

  • Evidence must be provided by the Scribe Platform's CLI tool through scanning Jenkins folder resources.

Evidence Requirements

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