gitleaks / gitleaks/gitleaks-action

Gitleaks action does not allow to specify a directory

Open
#172 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
644
Forks
194
PR merge metrics
No merged PRs in 30d

Description

In the gitleaks action it is not possible to scan a specific directory only.

gitleaks allows you to run a a scan of directory , there does not seems to be a support to do the same with the github action.
Common use case is a monorepo where only one folder belongs to a project.

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by inspecting the action entry point and how it passes arguments to Gitleaks, then verify the behavior with a directory target; done means a workflow can scan only the selected folder in a monorepo.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.