Skip to content

Right API URL for DT CI/CD #3202

Closed Answered by rafaelcabralv
rafaelcabralv asked this question in Q&A
Discussion options

You must be logged in to vote
# Dependency Track API URL
DTRACK_API_URL = http://localhost:8081/api/v1/bom
# Dependency Track API Key
DTRACK_API_KEY = odt_MJqGQK9JtgQMB2lLOlogSnjY0Qluv9DG
# Dependency Track Project UUID
DTRACK_PROJECT_UUID = f672d42b-f004-4393-bf06-4461b43d2fd4

publish_bom:
		curl -X "POST" "http://localhost:8081/api/v1/bom" \
		-H 'Content-Type: multipart/form-data' \
		-H 'X-Api-Key: odt_MJqGQK9JtgQMB2lLOlogSnjY0Qluv9DG' \
		-F "project=f672d42b-f004-4393-bf06-4461b43d2fd4" \
		-F "[email protected]"

Working now

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rafaelcabralv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant