Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to exclude certain files with git-secret-scan

faraz.younus November 1, 2021

I'd like to scan *.hcl and .*yml but dont want to scan some hcl files, how can I use exclude option in the pipeline ?

 

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2021

@faraz.younus  hi. Thanks for your question.

There is no option to exclude some files. But you can use your own written reqexp that allows you to scan only needed files. Maybe this can article help you. Look how to use CUSTOM_PATTERN in advanced example in readme

 

Regards, Igor.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events