Skip to content

Commit ff51743

Browse files
IlyesbdlalaJ12934
authored andcommitted
#1902 Removed configmap names prefix in zap-automation-framework
It is no longer needed Co-authored-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com> Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent 4c3da78 commit ff51743

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎scanners/zap-automation-framework/.helm-docs.gotmpl‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ kind: ConfigMap
4949
metadata:
5050
name: "zap-automation-framework-config"
5151
data:
52-
1-automation.yaml: |-
52+
automation.yaml: |-
5353
5454
env: # The environment, mandatory
5555
contexts : # List of 1 or more contexts, mandatory
@@ -85,7 +85,7 @@ kind: ConfigMap
8585
metadata:
8686
name: zap-advanced-scan-config
8787
data:
88-
2-zap-advanced-scan.yaml: |-
88+
zap-advanced-scan.yaml: |-
8989
9090
# ZAP Contexts Configuration
9191
contexts:
@@ -210,7 +210,7 @@ kind: ConfigMap
210210
metadata:
211211
name: "zap-automation-framework-migrate-advanced-scan-config"
212212
data:
213-
1-automation.yaml: |-
213+
automation.yaml: |-
214214
215215
env: # The environment, mandatory
216216
contexts : # List of 1 or more contexts, mandatory
@@ -354,7 +354,7 @@ kind: ConfigMap
354354
metadata:
355355
name: "zap-automation-framework-config"
356356
data:
357-
1-automation.yaml: |-
357+
automation.yaml: |-
358358
359359
env: # The environment, mandatory
360360
contexts: # List of 1 or more contexts, mandatory

‎scanners/zap-automation-framework/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ kind: ConfigMap
6363
metadata:
6464
name: "zap-automation-framework-config"
6565
data:
66-
1-automation.yaml: |-
66+
automation.yaml: |-
6767
6868
env: # The environment, mandatory
6969
contexts : # List of 1 or more contexts, mandatory
@@ -99,7 +99,7 @@ kind: ConfigMap
9999
metadata:
100100
name: zap-advanced-scan-config
101101
data:
102-
2-zap-advanced-scan.yaml: |-
102+
zap-advanced-scan.yaml: |-
103103
104104
# ZAP Contexts Configuration
105105
contexts:
@@ -224,7 +224,7 @@ kind: ConfigMap
224224
metadata:
225225
name: "zap-automation-framework-migrate-advanced-scan-config"
226226
data:
227-
1-automation.yaml: |-
227+
automation.yaml: |-
228228
229229
env: # The environment, mandatory
230230
contexts : # List of 1 or more contexts, mandatory
@@ -366,7 +366,7 @@ kind: ConfigMap
366366
metadata:
367367
name: "zap-automation-framework-config"
368368
data:
369-
1-automation.yaml: |-
369+
automation.yaml: |-
370370
371371
env: # The environment, mandatory
372372
contexts: # List of 1 or more contexts, mandatory

‎scanners/zap-automation-framework/docs/README.ArtifactHub.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ kind: ConfigMap
6868
metadata:
6969
name: "zap-automation-framework-config"
7070
data:
71-
1-automation.yaml: |-
71+
automation.yaml: |-
7272
7373
env: # The environment, mandatory
7474
contexts : # List of 1 or more contexts, mandatory
@@ -104,7 +104,7 @@ kind: ConfigMap
104104
metadata:
105105
name: zap-advanced-scan-config
106106
data:
107-
2-zap-advanced-scan.yaml: |-
107+
zap-advanced-scan.yaml: |-
108108
109109
# ZAP Contexts Configuration
110110
contexts:
@@ -229,7 +229,7 @@ kind: ConfigMap
229229
metadata:
230230
name: "zap-automation-framework-migrate-advanced-scan-config"
231231
data:
232-
1-automation.yaml: |-
232+
automation.yaml: |-
233233
234234
env: # The environment, mandatory
235235
contexts : # List of 1 or more contexts, mandatory
@@ -371,7 +371,7 @@ kind: ConfigMap
371371
metadata:
372372
name: "zap-automation-framework-config"
373373
data:
374-
1-automation.yaml: |-
374+
automation.yaml: |-
375375
376376
env: # The environment, mandatory
377377
contexts: # List of 1 or more contexts, mandatory

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ kind: ConfigMap
88
metadata:
99
name: "zap-automation-nginx"
1010
data:
11-
2-automation.yaml: |-
11+
automation.yaml: |-
1212
1313
env: # The environment, mandatory
1414
contexts : # List of 1 or more contexts, mandatory
@@ -66,11 +66,11 @@ spec:
6666
scanType: "zap-automation-framework"
6767
parameters:
6868
- "-autorun"
69-
- "/home/securecodebox/scb-automation/2-automation.yaml"
69+
- "/home/securecodebox/scb-automation/automation.yaml"
7070
volumeMounts:
7171
- name: zap-automation-framework-config
72-
mountPath: /home/securecodebox/scb-automation/2-automation.yaml
73-
subPath: 2-automation.yaml
72+
mountPath: /home/securecodebox/scb-automation/automation.yaml
73+
subPath: automation.yaml
7474
volumes:
7575
- name: zap-automation-framework-config
7676
configMap:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ kind: ConfigMap
88
metadata:
99
name: "zap-automation-framework-migrate-advanced-scan-config"
1010
data:
11-
1-automation.yaml: |-
11+
automation.yaml: |-
1212
1313
env: # The environment, mandatory
1414
contexts : # List of 1 or more contexts, mandatory

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ kind: ConfigMap
88
metadata:
99
name: zap-baseline-automation-framework-config
1010
data:
11-
1-automation.yaml: |-
11+
automation.yaml: |-
1212
1313
env: # The environment, mandatory
1414
contexts : # List of 1 or more contexts, mandatory

0 commit comments

Comments
 (0)