ISMS-P 점검에서 탐지/접근권한 관리 미흡 지적되어 레포에 하드코딩된 키/시크릿 있는지 확인 필요해 gitleaks로 스캔 진행
gitleaks detect --source . --report-format json --report-path gitleaks-report.json -v
--source .: 현재 디렉토리(레포) 전체를 대상으로--report-format json / --report-path: 결과를 gitleaks-report.json 파일로 저장-v: 상세 로그 출력 ○
│╲
│ ○
○ ░
░ gitleaks
7:08PM INF 116 commits scanned.
7:08PM INF scanned ~742462 bytes (742.46 KB) in 77.8ms
7:08PM INF no leaks found
→ 전체 커밋 히스토리 스캔 (116 commits, 742KB)