Customizing TruffleHog
Customizing detectors
4 min
detectors which accept configuration options some detectors accept configuration options that can be set in the config yaml file aws access key and session key allowedaccountids list of account ids where verification is allowed (optional) deniedaccountids list of account ids where verification is not allowed (optional) denied ids always holds precedence over allowed ids, meaning if an id is present in both, it will be denied detectorsconfig aws allowedaccountids \ "111111111111" \ "222222222222" deniedaccountids \ "666666666666" # canary tokens jdbc ignorepattern list of regular regular expressions used to ignore unwanted results detectorsconfig jdbc ignorepattern \ somep\[aa]ttern\[0 9]+