salus icon indicating copy to clipboard operation
salus copied to clipboard

Trufflehog - Exclude files

Open maitrayshah-cb opened this issue 1 year ago • 3 comments

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 avatar Mar 28 '23 22:03 maitrayshah-cb

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

joshuaostrom-cb avatar Mar 31 '23 19:03 joshuaostrom-cb

Use case are test files and documentation files.

charleneaid avatar Apr 05 '23 20:04 charleneaid

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

cb-heimdall avatar Sep 23 '23 00:09 cb-heimdall