trufflehog
trufflehog copied to clipboard
Fix Azure Detector
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)?