Dependency Track and Jenkins integration #1678
HagarJNode
started this conversation in
General
Replies: 1 comment
-
Solved the problem - it was a firewall issue in our cloud build server env. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to setup an integration with Dependency Track and Jenkins, but I'm running into a halt.
Running the newest versions:
Dependency Track version: 4.5.0
OWASP Dependency-Track plugin: 4.1.1
I get a 403 forbidden when testing from the Jenkins configuration of the jenkins plugin when I do "Test Connection" and in my pipeline script - eventho I added all permissions to the team that hold the api-key. Using the REST interface together with the x-api-key seems to work and it response when I remove/change permissions. One thing I note is, that the SCAN_UPLOAD permission isn't present in the list of permissions. So, do any one has an idea of what might be wrong?
Connection failed - null org.jenkinsci.plugins.DependencyTrack.ApiClientException: An error occurred connecting to Dependency-Track - HTTP response code: 403 Forbidden at org.jenkinsci.plugins.DependencyTrack.ApiClient.testConnection(ApiClient.java:103) at org.jenkinsci.plugins.DependencyTrack.DescriptorImpl.doTestConnection(DescriptorImpl.java:247) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)
Beta Was this translation helpful? Give feedback.
All reactions