gitleaks / gitleaks/gitleaks-action

Gitleaks Action failing : Invalid Licence

Open
#167 11 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
646
Forks
195
PR merge metrics
No merged PRs in 30d

Description

The GitLeaks GitHub Action is failing due to an "Invalid License" error, preventing the security scan from running. I am facing the same issue across multiple organisations.(Each org has unique licence ).
Details:

PR: https://github.com/DevSecOps-AppSec/testrepo-reusable-workflow/actions/runs/11306937684/job/31448090343?pr=1

Error: Validating key returned [{"meta":{"id":"7e37c504-0d77-42b2-ba84-ae767f8a59b7"},"errors":[{"title":"Account does not have an active subscription","detail":"must have an active subscription to access this resource"}]}]

![Screenshot_20241012_213447_Chrome.jpg](https://github.com/user-attachments/assets/55945601-5736-4641-b4ac-cf9ec4c49899)

Impact: Security scans are blocked across multiple organisations.

Contributor guide

Open the contributing guide

Research direction

Start with the linked GitHub Actions run and the reported “Invalid License” response to determine whether the failure is in gitleaks-action or the licensing service. The issue names no repository file or test, so inspect the action entry point and its licensing configuration first. Done means the security scan runs successfully for organisations with distinct licences.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.