Hello all,
i am trying to perform an authenticated scan on juice-shop application (also hosted in docker). The scan runs but it does not perform an authenticated scan on privetly accessible directories, only on the publicly available.
I run the automation framework with the following command:
docker run --net=host -v $(pwd):/zap/wrk/:rw -t zaproxy/zap-stable zap.sh -cmd -autorun /zap/wrk/zap.yaml
here is the zap.yaml that i use to run the automation framework:
env:
contexts:
- name: "target"
urls:
includePaths: []
excludePaths: []
authentication:
method: "browser"
parameters:
verification:
method: "autodetect"
sessionManagement:
method: "autodetect"
users:
credentials:
password: "tester"
jobs:
- parameters:
enableTags: false
maxAlertsPerRule: 10
type: passiveScan-config
- parameters:
maxDuration: 1
type: spider
- parameters:
maxDuration: 1
type: passiveScan-wait
- parameters:
format: Long
summaryFile: /home/zap/zap_out.json
rules: []
type: outputSummary
- parameters:
reportDescription: ''
reportDir: /zap/wrk/
reportFile: 0000_2024-04-30T12_12_51.json
reportTitle: ZAP Scanning Report
template: traditional-json
type: report
Am i missing something on the YAML ? where can i find more example yaml templates ?
Many Thanks,
Mike