trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

add version to extra data + moving existing versioned detectors into subdirectory format

Open 0x1 opened this issue 1 year ago • 0 comments

Description:

  • we have two ways that we set up new versions of detectors. one is to create a new directory, naming it as <detector>_v2, other is to create subdirectories <detector>/v1/ . the latter follows go convention, here we update all packages that are currently not following convention
  • the adding detectors docs are also being updated to reflect this
  • adding version numbers to extra data which will help distinguish which detector is causing a specific detection

Checklist:

  • [ ] Tests passing (make test-community)?
  • [ ] Lint passing (make lint this requires golangci-lint)?

0x1 avatar Feb 16 '24 16:02 0x1