Git 레포지토리에서 유출된 비밀 및 API 키를 탐지. 더 많은 정보: https://github.com/gitleaks/gitleaks.
gitleaks detect --repo-url {{https://github.com/username/repository.git}}
gitleaks detect --source {{경로/대상/디렉터리}}
gitleaks detect --source {{경로/대상/디렉터리}} --report {{경로/대상/리포트.json}}
gitleaks detect --source {{경로/대상/디렉터리}} --config-path {{경로/대상/구성파일.toml}}
gitleaks detect --source {{경로/대상/디렉터리}} --log-opts {{--since=commit_id}}
gitleaks protect --staged
gitleaks protect --staged --verbose