-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
99 lines (97 loc) · 2.82 KB
/
action.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: "Orca Security - Secret Detection (Git Repos)"
description: "Configures Orca CLI to run secrets scan on your code"
branding:
icon: "shield"
color: "green"
runs:
using: "docker"
image: "Dockerfile"
env:
WORKSPACE_PATH: $GITHUB_WORKSPACE
inputs:
api_token:
description: "Orca API Token used for Authentication"
required: true
exit_code:
description: "Exit code for failed execution due to policy violations"
required: false
no_color:
description: "Disable color output"
required: false
default: "false"
project_key:
description: "Project Key name"
required: true
silent:
description: "Disable logs and warnings output"
required: false
default: "false"
disable_err_report:
description: "Suppress error reporting to the monitoring platform"
required: false
default: "false"
max_secret:
description: "Maximum secrets that can be found, when reaching this number secret scan will stop"
required: false
num_cpu:
description: "Number of logical CPUs to be used for secret scanning (default 10)"
required: false
path:
description: "Path or directory to scan"
required: false
default: "."
disable_git_scan:
description: "Disable Git scan"
required: false
default: "false"
ignore_git_history_baseline:
description: "Run full history scan"
required: false
from_commit:
description: "The commit to scan from"
required: false
to_commit:
description: "The commit to scan to"
required: false
exceptions_filepath:
description: "Exceptions YAML file path."
required: false
format:
description: "Format for displaying the results"
required: false
default: "table"
output:
description: "Output directory"
required: false
timeout:
description: 'Set the maximum duration for the CLI execution. valid time units ("s", "m", "h")'
required: false
show_failed_issues_only:
description: "Show only failed issues in CLI results"
required: false
default: "false"
console_output:
description: "Prints results to console in the provided format (only when --output is provided)"
required: false
default: "table"
config:
description: "Path to the configuration file (json, yaml or toml)"
required: false
show_annotations:
description: "Show GitHub annotations on pull requests"
required: false
default: "true"
debug:
description: "Debug mode"
required: false
default: "false"
disable_active_verification:
description: "Disable active verification"
required: false
default: "false"
log_path:
description: "The directory path to specify where the logs should be written to on debug mode. Default to the current working directory"
required: false
outputs:
exit_code:
description: "The exit code of the scan"