Following is the log i got while running.
6483 [ZAP-daemon] ERROR org.zaproxy.addon.automation.jobs.JobUtils - Automation Framework failed to find method setUser on org.parosproxy.paros.core.scanner.ScannerParam
6484 [ZAP-daemon] INFO org.parosproxy.paros.CommandLine - Job activeScan started
6494 [ZAP-daemon] INFO org.parosproxy.paros.CommandLine - Job activeScan set default strength to MEDIUM
6495 [ZAP-daemon] INFO org.parosproxy.paros.CommandLine - Job activeScan set default threshold to MEDIUM
6495 [ZAP-daemon] INFO org.parosproxy.paros.CommandLine - Job activeScan set rule 40,012 strength to HIGH
6496 [ZAP-daemon] INFO org.parosproxy.paros.CommandLine - Job activeScan set rule 40,012 threshold to LOW
6499 [ZAP-daemon] INFO org.parosproxy.paros.core.scanner.Scanner - scanner started
6499 [Thread-5] INFO org.parosproxy.paros.core.scanner.Scanner - scanner completed in 0s
7013 [ZAP-daemon] INFO org.parosproxy.paros.CommandLine - Job activeScan finished, time taken: 00:00:00
type: activeScan
parameters:
context: test
user: User1
# policy: myPolicy
maxRuleDurationInMins: 5
maxScanDurationInMins: 60
addQueryParam: true
# defaultPolicy: Default Policy
delayInMs: 1000
handleAntiCSRFTokens: true
injectPluginIdInHeader: true
scanHeadersAllRequests: true
threadPerHost: 4
maxAlertsPerRule: 10
policyDefinition:
defaultStrength: Medium
defaultThreshold: Medium
rules:
- id: 40012
name: Cross Site Scripting (Reflected)
strength: High
threshold: Low
Above is the config i have used for testing