Prevent Token Expiration in GitLab Organization
Type: Rule
ID: gitlab-org-token-about-to-expire
Source: v2/rules/gitlab/org/expiring-tokens.yaml
Rego Source: expiring-tokens.rego
Labels: Gitlab, Organization
Verify no GitLab organization tokens are about to expire.
note
This rule requires Gitlab 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: gitlab/org/expiring-tokens@v2
with:
exiring_in_days: 30
Mitigation
Ensure that no GitLab organization tokens are about to expire to prevent service disruption.