Add option to include Line field in report (#1616)

Signed-off-by: Taiki Ono <taiki@finatext.com>
This commit is contained in:
Taiki Ono authored and GitHub committed 2024-10-31 15:51:53 -05:00
1 parent dbb42a727d
commit 8e94f98e92
7 files changed
+80 -22

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ Flags:
--no-banner suppress banner
--no-color turn off color for verbose output
--redact uint[=100] redact secrets from logs and stdout. To redact only parts of the secret just apply a percent value from 0..100. For example --redact=20 (default 100%)
-f, --report-format string output format (json, csv, junit, sarif) (default "json")
-f, --report-format string output format (json, jsonextra, csv, junit, sarif) (default "json")
-r, --report-path string report file
-v, --verbose show verbose output from scan
--version version for gitleaks