Skip to main content

Disallow Unused Users

Type: Rule
ID: jenkins-unused-users
Source: v2/rules/jenkins/instance/unused-users.yaml
Rego Source: unused-users.rego
Labels: Jenkins, Instance

Verify there are no users with zero activity.

note

This rule requires Jenkins Instance 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/instance/unused-users@v2

Mitigation

Ensure that there are no users with zero activity in the Jenkins instance to prevent service disruption.

Description

This rule ensures that there are no users with zero activity in the Jenkins instance. It performs the following steps:

  1. Checks the settings of the Jenkins instance.
  2. Verifies that there are no users with zero activity.

Evidence Requirements:

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

Evidence Requirements

FieldValue
signedFalse
content_body_typegeneric
predicate_typehttp://scribesecurity.com/evidence/discovery/v0.1
labels- asset_type=instance
- platform=jenkins