|
12 | 12 |
|
13 | 13 | env: # The environment, mandatory |
14 | 14 | contexts : # List of 1 or more contexts, mandatory |
15 | | - - name: zap-baseline-automation-scan # Name to be used to refer to this context in other jobs, mandatory |
16 | | - urls: ["http://juice-shop.demo-targets.svc:3000/"] # A mandatory list of top level urls, everything under each url will be included |
| 15 | + - name: baseline-config # Name to be used to refer to this context in other jobs, mandatory |
| 16 | + urls: ["${TARGET_URL}"] # A mandatory list of top level urls, everything under each url will be included |
17 | 17 | jobs: |
18 | 18 | - type: spider # The traditional spider - fast but doesnt handle modern apps so well |
19 | 19 | parameters: |
|
24 | 24 | maxDuration: 5 # Int: The max time to wait for the passive scanner, default: 0 unlimited |
25 | 25 | - type: report # Report generation |
26 | 26 | parameters: |
27 | | - template: traditional-xml # String: The template id, default : modern |
28 | | - reportDir: /home/securecodebox/ # String: The directory into which the report will be written |
29 | | - reportFile: zap-results # String: The report file name pattern, default: {{yyyy-MM-dd}}-ZAP-Report-[[site]] |
| 27 | + template: traditional-xml # String: The template id, default : modern |
| 28 | + reportDir: /home/securecodebox/ # String: The directory into which the report will be written |
| 29 | + reportFile: zap-results # String: The report file name pattern, default: {{yyyy-MM-dd}}-ZAP-Report-[[site]] |
30 | 30 | risks: # List: The risks to include in this report, default all |
31 | 31 | - high |
32 | 32 | - medium |
|
52 | 52 | - name: zap-baseline-automation-framework-config |
53 | 53 | configMap: |
54 | 54 | name: zap-baseline-automation-framework-config |
| 55 | + env: |
| 56 | + - name: TARGET_URL |
| 57 | + value: "http://juice-shop.demo-targets.svc:3000/" |
0 commit comments