Skip to content

Commit 7d3c634

Browse files
authored
feat: remove reporting to file for detecting secrets jobs (#17)
Remove report flags and thus reporting to a file for `detect_secrets_git` and `detect_secrets_dir` jobs. Currently, there is not much use for such outputs, and a more systematic approach to reporting is needed across all jobs in the future.
1 parent 4224233 commit 7d3c634

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/scripts/export-gitleaks-args.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

3-
REPORT="--report-format=sarif --report-path=/tmp/gitleaks-report.sarif"
4-
ARGS="detect --source . --log-level=debug --verbose --redact $REPORT --exit-code=2"
3+
ARGS="detect --source . --log-level=debug --verbose --redact --exit-code=2"
54

65
if [[ -n "$CONFIG_FILE" ]]; then
76
ARGS="$ARGS --config=$CONFIG_FILE"

0 commit comments

Comments
 (0)