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

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

Open rsinghmdp opened 4 years ago

rsinghmdp commented 4 years ago

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

rsinghmdp commented 4 years ago

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

rsinghmdp commented 4 years ago

@kasunkv can you please help me with this..

rsinghmdp commented 4 years ago

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?