Scanning different file types
dug42 opened this issue · comments
Describe the bug
The application appears to only scan yaml files.
To Reproduce
Create a new repo.
Create a few different files (ie: .yml .json .xml .py)
In each file add a secret, use the generic-api-key
rule
Run the app gitleaks detect --no-git -verbose
- or -
Stage your files and rungit commit -m "test"
Expected behavior
I expect it to scan all the files in the directory OR all the files in the commit and to report each leak.
Basic Info (please complete the following information):
- OS: Ubuntu 20.04
- Gitleaks Version: 8.0.0 - 8.18.2
Additional context
I've tried various application flags/options, but have not found a way to make it scan all files. Based on what I searched and found, it should be scanning all the files.
Side Note: I tried to join the discord server, but it reports the invite as invalid or expired.
cc @zricethezav
The issue was with the rules. I debugged the code and found my issue