The user requests the ability to create more granular exceptions for secrets (e.g., by hash or line number) through a configuration file, rather than just ignoring entire files. This would prevent exceptions from breaking if line numbers change.
## 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 ```