GET /JSON/ascan/action/scan/
Changed onRuns the active scanner against the given URL or Context. Optionally, the 'recurse' parameter can be used to scan URLs under the given URL, the parameter 'inScopeOnly' can be used to constrain the scan to URLs that are in scope (ignored if a Context is specified), the parameter 'scanPolicyName' allows to specify the scan policy (if none is given it uses the default scan policy), the parameters 'method' and 'postData' allow to select a given request in conjunction with the given URL.
Request
- Base URLhttp://zap
- Auth
- none
- or API key in header X-ZAP-API-Key
- or API key in query parameter apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Error of JSON endpoints.
Changes
- breaking
the
response's property type changed fromintegertostringfor status - info
added the optional property
to the response with the status
- breaking
- breaking
the
response's property type changed fromstringtointegerfor status - warning
removed the optional property
from the response with the status
- breaking