forked from DariuszPorowski/github-action-gitleaks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
52 lines (50 loc) · 1.57 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
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/GitleaksUdmCombo.toml)"
required: false
default: "/.gitleaks/GitleaksUdmCombo.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"
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 (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: "docker://ghcr.io/dariuszporowski/github-action-gitleaks:latest"