You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a frontend project that generates uuid during tests and save them into *.snap files. These uuid are OK to commit but gitleaks detects them as secrets, which is fine. Though, adding fingerprints of each error to .gitleaksignore file to ignore them - doesn't help.
To Reproduce
Have project with secret hardcoded.
Add pre-commit-config.yaml file with the content below. (Additional context: [1])
Run pre-commit run gitleaks.
Be sure that secret is detected.
Create .gitleaksignore file and copy-paste fingerprint from the output at step 4.
Run pre-commit run gitleaks.
Actual behavior gitleaks detects that line anyway, meaning that .gitleaksignore file is ignored.
Expected behavior
Line which fingerprint has been added to the .gitleaksignore file shouldn't be detected anymore.
Screenshots
N/A
Basic Info (please complete the following information):
Describe the bug
I have a frontend project that generates uuid during tests and save them into
*.snap
files. These uuid are OK to commit butgitleaks
detects them as secrets, which is fine. Though, adding fingerprints of each error to.gitleaksignore
file to ignore them - doesn't help.To Reproduce
pre-commit-config.yaml
file with the content below. (Additional context: [1])pre-commit run gitleaks
..gitleaksignore
file and copy-paste fingerprint from the output at step 4.pre-commit run gitleaks
.Actual behavior
gitleaks
detects that line anyway, meaning that.gitleaksignore
file is ignored.Expected behavior
Line which fingerprint has been added to the
.gitleaksignore
file shouldn't be detected anymore.Screenshots
N/A
Basic Info (please complete the following information):
Additional context
[1]
pre-commit-config.yaml:cc @zricethezav
The text was updated successfully, but these errors were encountered: