forked from veracode/veracode-uploadandscan-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
100 lines (97 loc) · 2.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
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
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 }}'
vid: # id of input
description: 'vid'
required: true
vkey: # id of input
description: 'vkey'
required: true
createsandbox:
description: 'true or flase'
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
# 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 }}