-
Notifications
You must be signed in to change notification settings - Fork 0
/
testplan.yml
executable file
·57 lines (57 loc) · 1.89 KB
/
testplan.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
env:
contexts:
- name: "selenium-auth"
urls:
- "https://pp-services.signin.education.gov.uk/"
includePaths:
- "https://pp-services.signin.education.gov.uk/.*"
excludePaths: []
authentication:
method: "script"
parameters:
# script: "/zap/wrk/kotlin_external.kts"
script: "/zap/wrk/kotlin_template.kts"
scriptEngine: "kotlin"
cookie_file: "cookies.txt"
auth_script_file: "/zap/wrk/selenium_login.py"
test_path: "https://pp-services.signin.education.gov.uk/my-services"
verification:
method: "poll"
loggedInRegex: ".*Access DfE services.*"
pollFrequency: 60
pollUnits: "requests"
pollUrl: "https://pp-services.signin.education.gov.uk/my-services"
pollPostData: ""
sessionManagement:
method: "script"
parameters:
script: "/zap/wrk/session.js"
scriptEngine: "Oracle Nashorn"
technology:
exclude: []
users:
- name: "test"
parameters:
failOnError: true
failOnWarning: false
progressToStdout: true
vars: {}
jobs:
- parameters:
action: "add"
type: "httpsender"
engine: "Oracle Nashorn"
name: "LogMessages.js"
file: "/zap/wrk/LogMessages.js"
name: "script"
type: "script"
- type: passiveScan-config # Passive scan configuration
parameters:
maxAlertsPerRule: 10 # Int: Maximum number of alerts to raise per rule
scanOnlyInScope: true # Bool: Only scan URLs in scope (recommended)
enableTags: false # Bool: Enable passive scan tags, default: false - enabling them can impact performance
disableAllRules: false # Bool: If true then will disable all rules before applying the settings in the rules section
- type: passiveScan-wait # Passive scan wait for the passive scanner to finish
parameters:
maxDuration: 5