Closed bjsee closed 4 months ago
@jdiepeveen im hitting this, as well - any advice ?
the apiurl should really be the baseURL, as the funcs append /api/v1/...
when making requests
Commenting here as im also having issues with this, some clarification in the README's would be helpful. @bjsee @jplimack Did you get this working? What does you config look like?
I’m also facing the same issue with exact configuration mentioned by @bjsee and new backend architecture of backstage.
Edit: I’ve not used /api/v1 in base url
Kindly let me know if there any updates or If anyone fixed this issue.
Regards Prashanth
Hi all, version 0.3.1
has been released and has been tested with Backstage version 1.27.5
. The readme has also been updated to reflect the additional endpoints
level required underneath the proxy
section.
For example:
proxy:
endpoints:
'/dependencytrack':
target: ${DEPENDENCYTRACK_BASE_URL}
allowedMethods: [ 'GET' ]
headers:
X-Api-Key: ${DEPENDENCYTRACK_API_KEY}
The variables should be replaced with the actual values for your specific environment.
I have partial functionality working in backstage, but not getting any data for the Findings component:
It appears to be getting a 403 Forbidden access response to the v1/findings endpoint.
The Metrics component is loading as expected.
Thanks for the work on this.. much appreciated.
edit, not sure if this warrants a new issue, felt it was similar enough to the initial issue in this thread.
@michaelbarone Which version of Dependency-Track are you using? And can you check the API Key permissions underneath the Administration > Teams > [Team]
section to make sure the API Key has permissions to retrieve the findings?
We ourselves have granted the following permissions to the Team for the API Key we are using:
@ronaldtb thank you, it was key permissions. after updating to what you have, its all working now. thank you.
No problem
Hello, I'm having trouble getting it to run and I think it's related to a misconfiguration. Could you possibly provide an example for the values of the URLs in the README? I believe that the
X-Api-Key
should contain the api-key and not theDEPENDENCYTRACK_API_URL
.My configuration looks like this:
If I make a GET request with this information using Postman, I receive a successful response. However, in Backstage, I'm receiving the error message: "There is no Dependencytrack project with id 'dd89a9d0-49ff-42de-bffa-409ac1cadf0d'."
Here are the dependencytrack related log-entries:
I am not sure if the configuration is really correct. Could you possibly provide an example for the values of the URLs in the README
Thanks, Björn