Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions other/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to the 'other' section of this repository will be documented

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### 2025-09-30
- Added af-plans/FullScanGinNJuiceAuth.yaml

### 2025-02-21
- Added af-plans/BrowserAuthTest.yaml

Expand Down
65 changes: 65 additions & 0 deletions other/af-plans/FullScanGinNJuiceAuth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
# A simple plan for performing an authenticated scan against Gin n Juice Shop.
# It does not currently support OAST which is required for some of the known vulnerabilities.
env:
contexts:
- name: Gin N Juice Shop
urls:
- https://ginandjuice.shop
includePaths:
- https://ginandjuice.shop.*
excludePaths:
- https://ginandjuice.shop/logout
authentication:
method: browser
parameters:
loginPageUrl: https://ginandjuice.shop/login
browserId: firefox-headless
loginPageWait: 1
steps: []
verification:
method: poll
loggedInRegex: \Q 200 OK\E
loggedOutRegex: \Q 302 Found\E
pollFrequency: 60
pollUnits: requests
pollUrl: https://ginandjuice.shop/my-account
pollPostData: ""
sessionManagement:
method: headers
users:
- name: carlos
credentials:
password: hunter2
username: carlos
parameters: {}
jobs:
- type: spider
parameters:
context: Gin N Juice Shop
user: carlos
- type: spiderAjax
parameters:
context: Gin N Juice Shop
user: carlos
browserId: firefox-headless
excludedElements:
- description: Logout
element: a
text: Log out
- type: passiveScan-wait
parameters: {}
- type: activeScan
parameters:
context: Gin N Juice Shop
user: carlos
policyDefinition:
defaultStrength: medium
defaultThreshold: medium
- parameters:
template: "modern"
reportTitle: "ZAP Scanning Report"
reportDescription: ""
name: "report"
type: "report"