Skip to content

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