Open
Description
Description
Currently a custom detector needs at least 1 keyword defined. The detector is only executed if the keyword appears in the text. This is usually enough for most cases.
For custom detectors it would be a benefit if the detector would be executed if the keyword appears in the filename (full path) to make it possible to detect secrets that use a complete file and where there is no uniq keyword within the text that can be used to identify it.
Preferred Solution
Introduce an additional config option (keyword_in_filename) for custom detectors to enable that keywords are also checked against the filename.