redhat-cop/containers-quickstarts

ZAP Jenkins errors

Closed this issue · 0 comments

The copy script statements are after the commands to fetch the latest ZAP version. The scripts are just being copied locally and contain errors. Local scans do not work because line "num_urls = len(zap.core.urls)" should be "num_urls = len(zap.core.urls())". When run in Jenkins a step to create directory "/zap/?/.ZAP/" is required. Without the directory, errors will prevent scanners from being ran.