Hello Ludovic,
I'm trying to set up ZAP under Jenkins using Selenium, but I cannot get the same results as ZAP GUI on my desktop.
General information :
- My webapp for testing is DVWA
- Capture a user sequence using Selenium plugin for Firefox
- Launch a ZAP scan (Default Profile using HIGH and INSANE) via GUI (firefox is wired to the ZAP proxy) using the same sequence, export results
- Doing the same thing using Jenkins, start ZAP proxy, configure Firefox to go through ZAP proxy, launch selenium tests, launch scans using the Zap plugin.
But it won't show me any High alerts (at least, it should show me an SQLI alert)
(cf: jenkins build logs attached)
Am I doing something wrong ?
EDIT : reports CI and Desktop added + job configuration
Cheers,
Farid.
[JENKINS-29265] Active scan not working with selenium
Attachment | New: report_zap_jenkins.html [ 30144 ] | |
Attachment | New: testresult.html [ 30145 ] | |
Attachment | New: rapport_desktop.html [ 30146 ] | |
Description |
Original:
Hello Ludovic, I'm trying to set up ZAP under Jenkins using Selenium, but I cannot get the same results as ZAP GUI on my desktop. General information : - My webapp for testing is DVWA - Capture a user sequence using Selenium plugin for Firefox - Launch a ZAP scan (Default Profile using HIGH and INSANE) via GUI (firefox is wired to the ZAP proxy) using the same sequence, export results - Doing the same thing using Jenkins, start ZAP proxy, configure Firefox to go through ZAP proxy, launch selenium tests, launch scans using the Zap plugin. But it won't show me any High alerts :( (at least, it should show me an SQLI alert) (cf: jenkins build logs attached) Am I doing something wrong ? Cheers, Farid. |
New:
Hello Ludovic, I'm trying to set up ZAP under Jenkins using Selenium, but I cannot get the same results as ZAP GUI on my desktop. General information : - My webapp for testing is DVWA - Capture a user sequence using Selenium plugin for Firefox - Launch a ZAP scan (Default Profile using HIGH and INSANE) via GUI (firefox is wired to the ZAP proxy) using the same sequence, export results - Doing the same thing using Jenkins, start ZAP proxy, configure Firefox to go through ZAP proxy, launch selenium tests, launch scans using the Zap plugin. But it won't show me any High alerts :( (at least, it should show me an SQLI alert) (cf: jenkins build logs attached) Am I doing something wrong ? EDIT : reports CI and Desktop added Cheers, Farid. |
Attachment | New: jenkins_1.png [ 30147 ] | |
Attachment | New: jenkins_2.png [ 30148 ] | |
Description |
Original:
Hello Ludovic, I'm trying to set up ZAP under Jenkins using Selenium, but I cannot get the same results as ZAP GUI on my desktop. General information : - My webapp for testing is DVWA - Capture a user sequence using Selenium plugin for Firefox - Launch a ZAP scan (Default Profile using HIGH and INSANE) via GUI (firefox is wired to the ZAP proxy) using the same sequence, export results - Doing the same thing using Jenkins, start ZAP proxy, configure Firefox to go through ZAP proxy, launch selenium tests, launch scans using the Zap plugin. But it won't show me any High alerts :( (at least, it should show me an SQLI alert) (cf: jenkins build logs attached) Am I doing something wrong ? EDIT : reports CI and Desktop added Cheers, Farid. |
New:
Hello Ludovic, I'm trying to set up ZAP under Jenkins using Selenium, but I cannot get the same results as ZAP GUI on my desktop. General information : - My webapp for testing is DVWA - Capture a user sequence using Selenium plugin for Firefox - Launch a ZAP scan (Default Profile using HIGH and INSANE) via GUI (firefox is wired to the ZAP proxy) using the same sequence, export results - Doing the same thing using Jenkins, start ZAP proxy, configure Firefox to go through ZAP proxy, launch selenium tests, launch scans using the Zap plugin. But it won't show me any High alerts :( (at least, it should show me an SQLI alert) (cf: jenkins build logs attached) Am I doing something wrong ? EDIT : reports CI and Desktop added + job configuration Cheers, Farid. |
Attachment | New: report_zap.html [ 30150 ] |
Attachment | New: sel_test.html [ 30156 ] | |
Attachment | New: set_suite.html [ 30157 ] |
Hi Farid,
I think this problem is not due to the ZAProxy Jenkins Plugin but to ZAP itself.
Have you tried to relaunch scan via GUI and Jenkins many times ? Results are still the same for both ?
Can you send me your selenium sequence and your reports from ZAP GUI and from ZAProxy Jenkins ?
Finally, can you send me a print screen of your Jenkins job (most particularly your Selenium config) ?
Regards,
Ludovic.