DAST log warns about non existant "Default Context"
While running DAST, I came up with this warning in zap.out file.
10830 [ZAP-ProxyThread-7] WARN org.zaproxy.zap.extension.api.API - Bad request to API endpoint [/JSON/context/action/setContextInScope/] from [127.0.0.1]:
Does Not Exist (does_not_exist) : Default Context
at org.zaproxy.zap.utils.ApiUtils.getContextByName(ApiUtils.java:189)
at org.zaproxy.zap.utils.ApiUtils.getContextByName(ApiUtils.java:174)
at org.zaproxy.zap.extension.api.ContextAPI.getContext(ContextAPI.java:367)
at org.zaproxy.zap.extension.api.ContextAPI.handleApiAction(ContextAPI.java:181)
at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:449)
at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:463)
at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:320)
at java.lang.Thread.run(Thread.java:748)
That points out to a ZAP context that was not created before, as seen in this line of code: https://gitlab.com/gitlab-org/security-products/dast/blob/master/src/zap_webdriver.py#L65
Kind regards, Juan