awslabs / awslabs/git-secrets

This works for git hooks. But I cannot find, where a pattern configuration is stored:

Open
#205 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
13.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

This works for git hooks. But I cannot find, where a pattern configuration is stored:

git secrets --scan-history
cat: 'C:/bin/Git/path/to/secret/file/patterns': No such file or directory

_Originally posted by @literakl in https://github.com/awslabs/git-secrets/issues/95#issuecomment-578389297_

Contributor guide

Open the contributing guide

Research direction

Reproduce `git secrets --scan-history` with the reported Windows path and inspect how the pattern configuration location is resolved. Trace the command's configuration lookup and confirm the behavior when the expected pattern file is missing; done means the configuration location or resulting error is clear and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
security, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.