gitleaks / gitleaks/gitleaks-action

Setting baseline path in gihub actions

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

Description

How do I use the `--baseline-path` flag in github actions.

Is it possible to set the path in my config file `.gitleak-config.toml`. I can't see a reference to in the [gitleaks configuration file](https://github.com/zricethezav/gitleaks#configuration) docs or the [default configuration file](https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml)

Contributor guide

Open the contributing guide

Research direction

Read the linked Gitleaks configuration documentation and the default config/gitleaks.toml file, then trace how the --baseline-path flag is supplied in GitHub Actions. Clarify whether the path can be set through .gitleak-config.toml or only through the action configuration, and document a working example.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, security
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.