trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Support for skipping gitlab repositories when scanning

Open rndmh3ro opened this issue 3 years ago • 1 comments
trafficstars

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

We want to scan our whole gitlab instance for secrets and report the findings to the owners of the repository. However we want to provide the users a way to opt out of scanning their repositories. So we'd like to have an option to skip repos by url.

Problem to be Addressed

I'd like to scan all our repositories but don't want to spam users who don't want to get their repos scanned.

Description of the Preferred Solution

An option to skip repos, e.g.:

trufflehog gitlab --token $TOKEN --endpoint=https://example.com --skip-repo https://example.com/path/to/skip/repo.git

rndmh3ro avatar Sep 02 '22 11:09 rndmh3ro

Seeing as how we can skip GitHub repos, skipping GitLab repos should be an option too. I'll look into adding this feature.

zricethezav avatar Nov 27 '23 15:11 zricethezav