File tree Expand file tree Collapse file tree 2 files changed +69
-0
lines changed Expand file tree Collapse file tree 2 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ All notable changes to the 'other' section of this repository will be documented
33
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
55
6+ ### 2025-02-21
7+ - Added af-plans/BrowserAuthTest.yaml
8+
69### 2024-08-30
710- Added af-plans/ApiScanExample.yaml
811
Original file line number Diff line number Diff line change 1+ ---
2+ # A plan which aims to work out how to configure authentication given the following env vars:
3+ # ZAP_SITE The target site, e.g. https://www.example.com - must not include the path or a trailing slash
4+ # ZAP_LOGIN_URL The URL of the login page, e.g. https://www.example.com/login
5+ # ZAP_USER A valid username
6+ # ZAP_PASSWORD The associated password
7+ #
8+ # The report generated will give full details of the session handling and verification details found.
9+ # For details see https://www.zaproxy.org/docs/desktop/addons/authentication-helper/auth-report-json/
10+ env :
11+ contexts :
12+ - name : Default Context
13+ urls :
14+ - ${ZAP_SITE}
15+ includePaths :
16+ - ${ZAP_SITE}.*
17+ authentication :
18+ method : browser
19+ parameters :
20+ browserId : firefox-headless
21+ loginPageUrl : ${ZAP_LOGIN_URL}
22+ loginPageWait : 5
23+ verification :
24+ method : autodetect
25+ sessionManagement :
26+ method : autodetect
27+ technology : {}
28+ users :
29+ - name : test-user
30+ credentials :
31+ username : ${ZAP_USER}
32+ password : ${ZAP_PASSWORD}
33+ parameters : {}
34+ jobs :
35+ - type : passiveScan-config
36+ parameters :
37+ disableAllRules : true
38+ rules :
39+ - name : Authentication Request Identified
40+ id : 10111
41+ threshold : medium
42+ - name : Session Management Response Identified
43+ id : 10112
44+ threshold : medium
45+ - name : Verification Request Identified
46+ id : 10113
47+ threshold : medium
48+ - type : requestor
49+ parameters :
50+ user : test-user
51+ requests :
52+ - url : ${ZAP_SITE}
53+ - type : passiveScan-wait
54+ parameters : {}
55+ - name : auth-test-report
56+ type : report
57+ parameters :
58+ template : auth-report-json
59+ theme : null
60+ reportDir : .
61+ reportFile : auth-report.json
62+ reportTitle : ZAP by Checkmarx Scanning Report
63+ sections :
64+ - summary
65+ - afenv
66+ - statistics
You can’t perform that action at this time.
0 commit comments