-
Notifications
You must be signed in to change notification settings - Fork 29
/
action.yml
120 lines (118 loc) · 3.64 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: 'Veracode Upload And Scan'
description: 'Upload files to veracode and start a static scan.'
inputs:
appname: # id of input
description: 'appname'
required: true
default: '${{ github.repository }}'
createprofile: # id of input
description: 'createprofile'
required: true
default: true
filepath: # id of input
description: 'filepath'
required: true
version: # id of input
description: 'version'
required: true
default: 'Scan from Github job: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}'
vid: # id of input
description: 'vid'
required: true
vkey: # id of input
description: 'vkey'
required: true
createsandbox:
description: 'true or false'
required: false
sandboxname:
description: 'name of the sandbox'
required: false
scantimeout:
description: 'wait X minutes for the scan to complete'
required: false
exclude:
description: 'modules to exclude from module selection'
required: false
include:
description: 'modules to include in module selection'
required: false
criticality:
description: 'business criticality - policy selection'
required: false
pattern:
description: 'filename pattern'
required: false
replacement:
description: 'replacement'
required: false
sandboxid:
description: 'specify to scan in a sandbox'
required: false
scanallnonfataltoplevelmodules:
description: 'All top level modules'
required: false
selected:
description: 'platform selected modules'
required: false
selectedpreviously:
description: 'selected modules like from previous scan'
required: false
teams:
description: 'teams'
required: false
toplevel:
description: 'teams'
required: false
deleteincompletescan:
description: 'automatically delete the current scan if there are any errors when uploading files or starting the scan'
required: false
scanpollinginterval:
description: 'Interval, in seconds, to poll for the status of a running scan. Value range is 30 to 120 (two minutes). Default is 120.'
required: false
javawrapperversion:
description: 'specify version of the Java API Wrapper; default is latest'
required: false
debug:
description: 'show detailed diagnostic information, which you can use for debugging, in the output.'
required: false
includenewmodules:
description: 'automatically select all new top-level modules for inclusion in the scan'
required: false
maxretrycount:
description: 'Number of times to retry the last request during certain error conditions or when a request times out. Value range is 1 to 5.'
required: false
default: 5
# outputs:
# time: # id of output
# description: 'The time we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.appname }}
- ${{ inputs.createprofile }}
- ${{ inputs.filepath }}
- ${{ inputs.version }}
- ${{ inputs.vid }}
- ${{ inputs.vkey }}
- ${{ inputs.createsandbox}}
- ${{ inputs.sandboxname }}
- ${{ inputs.scantimeout }}
- ${{ inputs.exclude }}
- ${{ inputs.include }}
- ${{ inputs.criticality }}
- ${{ inputs.pattern }}
- ${{ inputs.replacement }}
- ${{ inputs.sandboxid }}
- ${{ inputs.scanallnonfataltoplevelmodules }}
- ${{ inputs.selected }}
- ${{ inputs.selectedpreviously }}
- ${{ inputs.teams }}
- ${{ inputs.toplevel }}
- ${{ inputs.deleteincompletescan }}
- ${{ inputs.scanpollinginterval }}
- ${{ inputs.javawrapperversion }}
- ${{ inputs.debug }}
- ${{ inputs.includenewmodules }}
- ${{ inputs.maxretrycount }}