Skip to content

Exception handling configuration #4716

@xtrmbuster

Description

@xtrmbuster

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions