awslabs / awslabs/git-secrets

Is there a reason this isn't a regex

Open
#269 3 comments 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

https://github.com/awslabs/git-secrets/blob/7d6b970cbd3c216353cb22b383b70c150140662e/git-secrets#L241

Expected:

```bash
add config 'secrets.patterns' = 'bedrock-api-key-[A-Za-z0-9]{32}'
```

Does anyone know any reason for this being hard coded?

Contributor guide

Open the contributing guide

Research direction

Start at git-secrets line 241, linked in the issue, and inspect how the Bedrock API key pattern is currently handled. Compare that behavior with the proposed secrets.patterns configuration command; done means the pattern is configurable there instead of being hard-coded.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.