Burp Suite User Forum

Create new post

Burp Enterprise + Jenkin integrations + site-driven configuration

Babyboss | Last updated: May 16, 2022 07:42AM UTC

Dear Team, we are trying to integrate Burp enterprise with Jenkin and site-driven configuration but we are getting the below error in jenkin build ERROR: Build step failed with exception net.portswigger.burp.api.driver.graphql.BurpSiteDrivenScanException: User does not have permission to view site scan configurations at net.portswigger.burp.api.driver.graphql.bcda.bcdc(Unknown Source) at net.portswigger.burp.api.driver.graphql.bcda.bcdb(Unknown Source) at net.portswigger.burp.api.driver.SiteCiDriver.bcda(Unknown Source) at net.portswigger.burp.api.driver.SiteCiDriver.scan(Unknown Source) at org.jenkinsci.plugins.burpscan.SiteDrivenScanRecorder.perform(SiteDrivenScanRecorder.java:162) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:522) at hudson.model.Run.execute(Run.java:1896) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Build step 'Burp Site Driven Scan' marked build as failure

Alex, PortSwigger Agent | Last updated: May 16, 2022 08:49AM UTC

Babyboss | Last updated: May 16, 2022 01:46PM UTC

A new error was generated !! ERROR: Build step failed with exception java.net.ConnectException: Connection timed out (Connection timed out) at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at java.base/java.net.Socket.connect(Socket.java:558) at java.base/java.net.Socket.<init>(Socket.java:454) at java.base/java.net.Socket.<init>(Socket.java:231) at net.portswigger.bcdq$bcda$bcdc.bcda(Unknown Source) at net.portswigger.bcdaD.bcda(Unknown Source) at net.portswigger.bcdI.bcda(Unknown Source) at net.portswigger.bcdI.bcda(Unknown Source) at net.portswigger.bcdaN$bcdd.bcda(Unknown Source) at net.portswigger.bcdaN$bcdb.bcda(Unknown Source) at net.portswigger.burp.api.bcdb.send(Unknown Source) at net.portswigger.burp.api.driver.graphql.bcda.bcdc(Unknown Source) at net.portswigger.burp.api.driver.graphql.bcda.bcdb(Unknown Source) at net.portswigger.burp.api.driver.SiteCiDriver.bcda(Unknown Source) at net.portswigger.burp.api.driver.SiteCiDriver.scan(Unknown Source) at org.jenkinsci.plugins.burpscan.SiteDrivenScanRecorder.perform(SiteDrivenScanRecorder.java:162) Caused: java.io.UncheckedIOException at org.jenkinsci.plugins.burpscan.SiteDrivenScanRecorder.perform(SiteDrivenScanRecorder.java:167) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:522) at hudson.model.Run.execute(Run.java:1896) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Build step 'Burp Site Driven Scan' marked build as failure Finished: FAILURE

Alex, PortSwigger Agent | Last updated: May 16, 2022 01:52PM UTC

Hi,

Please provide a screenshot of your Burp Suite Enterprise network settings page to support@portswigger.net for review.

Additionally, can you confirm if your Jenkins server utilizes HTTP or HTTPS?

Thanks

Babyboss | Last updated: May 17, 2022 07:21AM UTC

I have already done this, but no solution yet.

Alex, PortSwigger Agent | Last updated: May 17, 2022 07:37AM UTC

Hi, I've not been able to locate a support ticket linked to your account in regards to this issue. Can you confirm when you contacted us? Was it via the same email address? Thanks

Babyboss | Last updated: May 17, 2022 01:04PM UTC

It was with another email address. But I just found the solution. The problem is that I had filled in the "scan report" field with a value that was not correct ($WORKSPACE/scan-report.html). How do I specify the value of this field?

Alex, PortSwigger Agent | Last updated: May 17, 2022 02:30PM UTC

Hi, This is simply the location you would like the report to be saved to - https://portswigger.net/burp/documentation/enterprise/integrate-ci-cd-platforms/optional-settings The Jenkins node in question must be able to resolve to this path. Thanks

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.