Hello There,
I will be glad if any one can help me out with Jenkins and ZAP plugin integration
existing setup
- OS: Ubuntu
- Jenkins installed "apt-get install Jenkins"
- Official ZAP plug-in
from the Jenkins i have installed
1. Official Zap Plug-in version 1.1.0 (unofficial version is not working in my system for some reason)
2. Custom tool Plug-in
3. JDK 8
4.user and group for Jenkins folder as Jenkins:Jenkins (so permission part is taken care)
i follow this document
https://wiki.jenkins.io/display/JENKINS/ZAProxy+Pluginfrom the custom tool plugin I gave ZAP git UrL
https://github.com/zaproxy/zaproxy/releases/download/2.6.0/ZAP_2.6.0_Linux.tar.gzdirectory as: ZAP_2.6.0
- created a jenkin free style project
- under the build section
- add - execute ZAP
host: localhost
port : 8090 (these are the setting i gave in jenkins)
rest left default
ZAP dir as : ~/.ZAP
load session: - saved a OWASP Zap session from Zap tool and later copied to workspace,
- do i compulsory need to give these, bcoz i have other jobs running on jenkins and i dont want to install OWASP zap and save a session
can this session be created through jenkins any posibility
rest.... like in context, out of context & etc are take care by me.
Here is my requirement
- we have a build triggered every 2 days and we want to run OWASP ZAP as part of the build. we want to take care of false positives, so once the zap scanning is done we should get a report(html format) without the false positives
- in the ZAP tool i can configure every thing, but now we want this step to integrate in jenkins
Here are my few questions
1. when i configured zap (giturl) from custom tools....its not creating any .ZAP folder(checked the hidden folders too)..checked after "build now step"
2. the below step is taking lots of time
Unpacking https://github.com/zaproxy/zaproxy/releases/download/2.6.0/ZAP_2.6.0_Linux.tar.gz to /root/.jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAP_6-0 on Jenkins
3. can i create a dynamic session instead of creating and saving a session from ZAP tool
4. how can i update ZAP from jenkins
Waiting for the response
Thanks in advance
-