trufflehog
trufflehog copied to clipboard
Update AzureSearchAdminKey detector
Description:
There are a number of problems with this detector. This Pr attempts to fix some of the glaring issues.
e.g.,
Verification issue: unexpected HTTP response status 400 | {"error":{"code":"","message":"Service name must only contain lowercase letters, digits or dashes, cannot start or end with or contain consecutive dashes and is limited to 60 characters."}}
Checklist:
- [x] Tests passing (
make test-community)? - [ ] Lint passing (
make lintthis requires golangci-lint)?