Skip to content

Commit e48c990

Browse files
IlyesbdlalaJ12934
authored andcommitted
#1902 use a consistent file name for automation configuration
Co-authored-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com> Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent c8458e7 commit e48c990

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎scanners/zap-automation-framework/examples/demo-zap-advanced-scan/scan.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ spec:
8282
scanType: "zap-automation-framework"
8383
parameters:
8484
- "-autorun"
85-
- "/home/securecodebox/scb-automation/1-automation.yaml"
85+
- "/home/securecodebox/scb-automation/automation.yaml"
8686
volumeMounts:
8787
- name: zap-automation-framework-advanced-scan-config
88-
mountPath: /home/securecodebox/scb-automation/1-automation.yaml
89-
subPath: 1-automation.yaml
88+
mountPath: /home/securecodebox/scb-automation/automation.yaml
89+
subPath: automation.yaml
9090
volumes:
9191
- name: zap-automation-framework-advanced-scan-config
9292
configMap:

‎scanners/zap-automation-framework/examples/demo-zap-baseline-scan/scan.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ spec:
4343
scanType: "zap-automation-framework"
4444
parameters:
4545
- "-autorun"
46-
- "/home/securecodebox/scb-automation/1-automation.yaml"
46+
- "/home/securecodebox/scb-automation/automation.yaml"
4747
volumeMounts:
4848
- name: zap-baseline-automation-framework-config
49-
mountPath: /home/securecodebox/scb-automation/1-automation.yaml
50-
subPath: 1-automation.yaml
49+
mountPath: /home/securecodebox/scb-automation/automation.yaml
50+
subPath: automation.yaml
5151
volumes:
5252
- name: zap-baseline-automation-framework-config
5353
configMap:

‎scanners/zap-automation-framework/integration-tests/zap-automation-framework.test.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ test.concurrent(
8888
const { count } = await scan(
8989
"zap-automation-juiceshop",
9090
"zap-automation-framework",
91-
["-autorun", "/home/securecodebox/scb-automation/1-automation.yaml"],
91+
["-autorun", "/home/securecodebox/scb-automation/automation.yaml"],
9292
60 * 31 * 1000,
9393
// volumes
9494
[{
@@ -98,7 +98,7 @@ test.concurrent(
9898
// volumeMounts
9999
[{
100100
"name": "zap-automation-framework-config",
101-
"mountPath": "/home/securecodebox/scb-automation/1-automation.yaml",
101+
"mountPath": "/home/securecodebox/scb-automation/automation.yaml",
102102
"subPath": "1-automation.yaml"
103103
}],
104104
);

0 commit comments

Comments
 (0)