This action uploads a software bill of materials file to a Dependency-Track server.
Required Dependency-Track hostname
Defaults to 443
Can be https
or http
Defaults to https
Required Dependency-Track API key
Required, unless projectname and projectversion are provided Project uuid in Dependency-Track
Required, unless project is provided Project name in Dependency-Track
Required, unless project is provided Project version in Dependency-Track
Automatically create project and version in Dependency-Track, default false
Path and filename of the BOM, default bom.xml
With project name and version:
uses: DependencyTrack/[email protected]
with:
serverhostname: 'example.com'
apikey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
projectname: 'Example Project'
projectversion: 'master'
With project uuid:
uses: DependencyTrack/[email protected]
with:
serverhostname: 'example.com'
apikey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
project: 'dadec8ad-7053-4e8c-8044-7b6ef698e08d'