OptionaladdIf set, will add an extra query parameter to requests that do not have one, default: false.
OptionalcontextName of the context to attack, default: first context.
OptionaldefaultThe name of the default scan policy to use, default: Default Policy.
OptionaldelayThe delay in milliseconds between each request, default: 0.
OptionalhandleIf set, then automatically handle anti CSRF tokens, default: false.
OptionalinjectIf set, then the relevant rule Id will be injected into the X-ZAP-Scan-ID header of each request, default: false.
OptionalmaxMaximum number of alerts to raise per rule, default: 0 (unlimited).
OptionalmaxThe max time in minutes any individual rule will be allowed to run for, default: 0 (unlimited).
OptionalmaxThe max time in minutes the active scanner will be allowed to run for, default: 0 (unlimited).
OptionalpolicyName of the scan policy to be used, default: Default Policy.
OptionalscanIf set, then the headers of requests that do not include any parameters will be scanned, default: false.
OptionaltestsList of tests to perform.
OptionalthreadThe max number of threads per host, default: 2 * Number of available processor cores.
OptionalurlThe subtree to active scan, default: all URLs of the context.
OptionaluserAn optional user to use for authentication, must be defined in the environment.
IActiveScanParameters Represents the parameters for an active scan.