-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the solution you'd like
Users should be able to load a global config if GITLEAKS_CONFIG env var is set
-c, --config string config file path
order of precedence:
1. --config/-c
2. env var `GITLEAKS_CONFIG`
3. (--source/-s)/.gitleaks.toml
Additional context
If the user does not provide a config path from one of the three options then the default config will be used.
cc @zricethezav
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request