gitleaks / gitleaks

Protect and discover secrets using Gitleaks 🔑

Home Page:https://gitleaks.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No result when scan

Sziman opened this issue · comments

Hi All,
I'm new in gitleaks,
I'ved install gitleaks vid docker
This is my command:
docker run -v ~/Documents/scan/gitleak:/path zricethezav/gitleaks:latest detect -v
For sure i have txt file with secret password.
For sure i have .git dir
I'm trying to scan from Documents/scan/gitleak dir
When scan via docker run. This is my result:
7:12AM ERR [git] fatal: not a git repository (or any of the parent directories): .git
7:12AM ERR error="stderr is not empty"
7:12AM INF scan completed in 8.81ms
7:12AM INF no leaks found
What am i doing worng?

Thanks,
Shahar

It seems you are not working on a git repository. Can you try with --no-git and see what it says?

closing due to inactivity