-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
64 lines (62 loc) · 1.38 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
name: 'Veracode Fix'
description: 'Fix Veracode Static Findings'
inputs:
vid:
description: 'Veracode API ID'
required: true
vkey:
description: 'Veracode API Key'
required: true
token:
description: 'GitHub Token'
required: true
default: ${{ github.token }}
access_token:
description: 'GitHub Fine-grained access Token'
required: true
inputFile:
description: 'Results file from Veracode'
required: false
default: 'results.json'
fixType:
description: 'Fix type'
required: true
default: 'batch'
cwe:
description: 'CWE to fix'
required: false
source_base_path_1:
description: 'Rewrite path 1'
required: false
source_base_path_2:
description: 'Rwrite path 2'
required: false
source_base_path_3:
description: 'Rewrite path 3'
required: false
debug:
description: 'Debug mode'
required: false
default: 'false'
language:
description: 'Language'
required: false
prComment:
description: 'Create comments for fixes on PRs'
required: false
default: 'false'
createPR:
description: 'Create PRs for fixes'
required: false
default: 'false'
files:
description: 'Files to fix'
required: true
default: 'all'
codeSuggestion:
description: 'Code suggestion'
required: false
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'