Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trufflehog - Exclude files #830

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

maitrayshah-cb
Copy link
Contributor

@maitrayshah-cb maitrayshah-cb commented Mar 28, 2023

Support excluding files for Trufflehog Scanner.

scanner_configs:
  Trufflehog:
    exclude_files: # List of file paths to ignore
      - env.json 
      - secrets.txt
    only-verified: false  # Only output verified results.
                          # true by default
    exceptions:  # whitelist finding
      - advisory_id: FlatIO-PLAIN
        changed_by: security-team
        notes: My notes.
        expiration: 2022-12-31

@maitrayshah-cb maitrayshah-cb marked this pull request as ready for review March 31, 2023 16:35
@joshuaostrom-cb
Copy link
Contributor

What's the backstory? When are users needing to allow artifacts with valid credentials?

@charleneaid
Copy link

Use case are test files and documentation files.

@cb-heimdall
Copy link

This Pull Request was merged without enough reviews
Please go here to review and +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants