trufflehog
trufflehog copied to clipboard
Added Onfido API Token detector
Description:
Add Onfido API Token detector to recognize this type of secrets. Documentation on API token can be found here: https://documentation.onfido.com/api/latest/#api-tokens.
Note that Onfido is a GitHub secret scanning partner and those tokens are detected by the built-in GitHub scanner.
Test
Tested in local, it worked fine for both non verified and verified detection. To test the former, it's possible to use this repo which is an official GitHub secret scanning test repository, to test the latter please reach out to me as i can generate valid API tokens to validate.
Cli command:
./trufflehog git https://github.com/dry-runs-test/test-new-repo-2/ --include-detectors=onfido
Hello @zricethezav , apologize for pinging you directly, the code works and is ready, may i ask you to double check and approve? Thank you and have a good day
@lucasan1 can you please resolve the conflicts and update the PR?