-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
55 lines (53 loc) · 1.7 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Gitleaks Scanner
description: Run Gitleaks in your CI/CD workflow
branding:
color: purple
icon: shield
inputs:
source:
description: "Path to source (relative to $GITHUB_WORKSPACE) (default: $GITHUB_WORKSPACE)"
required: false
config:
description: "Config file path (relative to $GITHUB_WORKSPACE) (default build-in: /.gitleaks/UDMSecretChecks.toml)"
required: false
default: "/.gitleaks/UDMSecretChecks.toml"
report_format:
description: "Report file format: json, csv, sarif (default: json)"
required: false
default: "json"
no_git:
description: "Treat git repos as plain directories and scan those file (default: <not set>)"
required: false
baseline_path:
description: "Path to baseline with issues that can be ignored (relative to $GITHUB_WORKSPACE) (default: <not set>)"
required: false
redact:
description: "Redact secrets from logs and stdout (default: true)"
required: false
default: "true"
fail:
description: "Fail if secrets founded (default: true)"
required: false
default: "true"
verbose:
description: "Show verbose output from scan (default: true)"
required: false
default: "true"
log_level:
description: "Log level (trace, debug, info, warn, error, fatal) (default: info)"
required: false
default: "info"
outputs:
exitcode: # id of output
description: "Success for failure value from scan"
result: # id of output
description: "Gitleaks result summary"
output: # id of output
description: "Gitleaks log output"
command: # id of output
description: "Gitleaks executed command"
report: # id of output
description: "Report file path"
runs:
using: "docker"
image: "Dockerfile"