trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Fix Azure Detector

Open rgmz opened this issue 8 months ago • 0 comments

Description:

This PR:

  • Adds support for additional scenarios that I've observed
  • Fixes the verification logic
  • Adds support for partial matches (just client id + client secret can still be valid in many contexts)
  • Dramatically improves the performance of the verification logic when multiple matches are found
  • Adds a dedicated IsKnownFalsePositiveUuid function

I still have more test cases to add, but feedback is welcome at this stage.

Checklist:

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

rgmz avatar Oct 24 '23 21:10 rgmz