-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Description
The goal is to allow the possibility to create exceptions through a config file at repository level or one can be used gloabally so that instead of creating an exception for a whole file, it could be possible to create an exception regarding a hash of a line or whatever could be to avoid just setting a file name to ignore.
A line with the filename could be a start but if someone is adding a line and so change the place of the secret (line number changing) so the exception won't be accurate and up to date.
Preferred Solution
A hash of the found secret or whatever could be unique in order to define in the config file :
[ignore]
path/of/file:hash