kasunkv/owasp-zap-vsts-task

ZAP Scan Vsts task failing :##[error]Task Failed. Error: {"Success":false,"Message":"Error: socket hang up"}

Opened this issue · 3 comments

I am not sure about the reason of the issue as i have checked everything from the VM where ZAP is installed, able to access ZAP and attack desired url, but while running the ZAP vsts task getting below error. Kindly help

image

If anyone can provide any help on this. Will be helpful

@kasunkv can you please help me with this..

Identified the issue is due to mismatch of API key. Seems API key is changed in ZAP installed in VM, updated the same to the tasks and its working fine.
My next question is how often this ZAP API key changes?