awslabs / awslabs/git-secrets

How to pass multiple patterns in .gitallowed file

Open
#238 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

I am trying to pass multiple patters from the .gitallowed file in separate line like below, but it fails if i am passing single patterns it works fine. kindly pls let me know how to pass the multiple patters.

id\s*=\s*("[^"]*"|'[^']*')
SECRET_KEY\s*:\s*("[^"]*"|'[^']*')

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.