forked from DependencyTrack/gh-upload-sbom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
50 lines (50 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
name: 'Upload BOM to Dependency-Track'
author: Patrick Dwyer
description: 'Uploads a CycloneDX software bill of materials to a Dependency-Track server'
inputs:
serverhostname:
description: 'Dependency-Track hostname'
required: true
port:
description: 'Dependency-Track port'
required: false
default: '443'
protocol:
description: 'Dependency-Track protocol'
required: false
default: 'https'
apikey:
description: 'Dependency-Track API key'
required: true
project:
description: 'Project in Dependency-Track'
required: false
projectname:
description: 'Project name in Dependency-Track'
required: false
projectversion:
description: 'Project version in Dependency-Track'
required: false
autocreate:
description: "Automatically create the project in Dependency-Track if it doesn't exist"
default: 'false'
required: false
bomfilename:
description: 'Path and filename of the BOM'
default: 'bom.xml'
required: false
parent:
description: 'Parent project in Dependency-Track'
required: false
parentname:
description: 'Parent name in Dependency-Track'
required: false
parentversion:
description: 'Parent version in Dependency-Track'
required: false
outputs:
token:
description: 'The token response from Dependency-Track after SBOM file upload'
runs:
using: 'node20'
main: 'index.js'