Hi,
I am trying to understand how ZAF yaml works, e.g.
1. what each parameter stands for?
2. what are the optional inputs
3. how to turn off authentication option.
I have generated the example.yaml file using "zap.sh -cmd -autogenconf /zap/wrk/autogenconf.yam".
For the zap.yaml, i added the URL path
I ran the scan with "docker run -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-stable:2.13.0 zap.sh -cmd -autorun /zap/wrk/example.yaml" and it returns the following error:
Aug 11, 2023 9:13:56 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Job authentication set parameters = {loginRequestBody=null, hostname=null, port=null, loginRequestUrl=null, realm=null, loginPageUrl=null, scriptEngine=null, script=null}
Invalid authentication loginRequestBody: {method=null, parameters={hostname=null, port=null, realm=null, loginPageUrl=null, loginRequestUrl=null, loginRequestBody=null, script=null, scriptEngine=null}, verification={method=null, loggedInRegex=null, loggedOutRegex=null, pollFrequency=null, pollUnits=null, pollUrl=null, pollPostData=null, pollAdditionalHeaders=[{header=null, value=null}]}}
Invalid authentication hostname: {method=null, parameters={hostname=null, port=null, realm=null, loginPageUrl=null, loginRequestUrl=null, loginRequestBody=null, script=null, scriptEngine=null}, verification={method=null, loggedInRegex=null, loggedOutRegex=null, pollFrequency=null, pollUnits=null, pollUrl=null, pollPostData=null, pollAdditionalHeaders=[{header=null, value=null}]}}
Unexpected error accessing file /zap/wrk/example.yaml : null - see log for details
null
Usage:
zap.sh [Options]
...
For ZAF, can we run without authentication option?