kasunkv / owasp-zap-vsts-task

Visual Studio Team Services build/release task for running OWASP ZAP automated security tests
MIT License
30 stars 11 forks source link

##[error]Task Failed. Error: "Error: getaddrinfo ENOTFOUND https https:80" #51

Open thomazbandeira opened 4 years ago

thomazbandeira commented 4 years ago

image

error OWASP ZAP Scan I'm having trouble applying the Proxy to the application's Scan at pipeline Azure. Can someone help me with this?

App Version: OWASP ZAP Scan image

in advance thank you for your attention!

gardebring commented 2 years ago

Getting this as well.

cyberheb commented 2 years ago

I got the same issue, googled and found this discussion. Apparently without clear answer. In my case, the issue is because I put ZAP url with protocol i.e ZapApiUrl: 'http://192.168.193.45:8080'. I missed the tooltip on pipeline stating that the parameter should be only hostname, fqdn, or ip address. After change to ZapApiUrl: '192.168.193.45:8080', the issue resolved. Hope this information useful to other who might face similar issue in future :)