CSEDevOps
CSEDevOps copied to clipboard
##[error]ENOENT: no such file or directory, open '/home/vsts/work/1/s/owaspzap/report.json'
Please any help !!
!
any update on it please?
I am getting the same error. Seems to be specific to Azure Pipelines as I don't get any errors when attempting to run this task in my Release Definition.
@oZakari Is it possible to have your yaml implementation? Because I have the same error in release pipeline. Thx!
@QuentinBeeckmans This is the YAML for the task I am using in my classic release definition.
steps:
- task: CSE-DevOps.zap-scanner.custom-build-release-task.owaspzap@1
displayName: 'ZAP Scanner'
inputs:
scantype: targetedScan
url: 'https://tester.azurewebsites.net'
port: 443`
@oZakari It's really crazy. I have the same task: steps:
- task: CSE-DevOps.zap-scanner.custom-build-release-task.owaspzap@1 displayName: 'ZAP Scanner' inputs: threshold: 500 scantype: targetedScan url: 'https://appmonitoringstoragemanager.azurewebsites.net' port: 443
and it doesn't work.
@QuentinBeeckmans I just tested using a new app service without any code deployments and it still works. I am using the Microsoft Hosted ubuntu-latest agent pool if you want to check that.
@oZakari thanks for your help but I have finally use in an command line the Docker image directly and It work too