Skip to content

Commit

Permalink
#1902 Removed configmap names prefix in zap-automation-framework
Browse files Browse the repository at this point in the history
It is no longer needed
Co-authored-by:  Jannik Hollenbach <jannik.hollenbach@iteratec.com>

Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
  • Loading branch information
Ilyesbdlala committed May 8, 2024
1 parent 938fa52 commit da8fcb0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions scanners/zap-automation-framework/.helm-docs.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-config"
data:
1-automation.yaml: |-
automation.yaml: |-

env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -85,7 +85,7 @@ kind: ConfigMap
metadata:
name: zap-advanced-scan-config
data:
2-zap-advanced-scan.yaml: |-
zap-advanced-scan.yaml: |-

# ZAP Contexts Configuration
contexts:
Expand Down Expand Up @@ -210,7 +210,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-migrate-advanced-scan-config"
data:
1-automation.yaml: |-
automation.yaml: |-

env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -354,7 +354,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-config"
data:
1-automation.yaml: |-
automation.yaml: |-

env: # The environment, mandatory
contexts: # List of 1 or more contexts, mandatory
Expand Down
8 changes: 4 additions & 4 deletions scanners/zap-automation-framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-config"
data:
1-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -99,7 +99,7 @@ kind: ConfigMap
metadata:
name: zap-advanced-scan-config
data:
2-zap-advanced-scan.yaml: |-
zap-advanced-scan.yaml: |-
# ZAP Contexts Configuration
contexts:
Expand Down Expand Up @@ -224,7 +224,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-migrate-advanced-scan-config"
data:
1-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -366,7 +366,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-config"
data:
1-automation.yaml: |-
automation.yaml: |-

env: # The environment, mandatory
contexts: # List of 1 or more contexts, mandatory
Expand Down
8 changes: 4 additions & 4 deletions scanners/zap-automation-framework/docs/README.ArtifactHub.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-config"
data:
1-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -104,7 +104,7 @@ kind: ConfigMap
metadata:
name: zap-advanced-scan-config
data:
2-zap-advanced-scan.yaml: |-
zap-advanced-scan.yaml: |-
# ZAP Contexts Configuration
contexts:
Expand Down Expand Up @@ -229,7 +229,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-migrate-advanced-scan-config"
data:
1-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -371,7 +371,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-config"
data:
1-automation.yaml: |-
automation.yaml: |-

env: # The environment, mandatory
contexts: # List of 1 or more contexts, mandatory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-nginx"
data:
2-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down Expand Up @@ -66,11 +66,11 @@ spec:
scanType: "zap-automation-framework"
parameters:
- "-autorun"
- "/home/securecodebox/scb-automation/2-automation.yaml"
- "/home/securecodebox/scb-automation/automation.yaml"
volumeMounts:
- name: zap-automation-framework-config
mountPath: /home/securecodebox/scb-automation/2-automation.yaml
subPath: 2-automation.yaml
mountPath: /home/securecodebox/scb-automation/automation.yaml
subPath: automation.yaml
volumes:
- name: zap-automation-framework-config
configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kind: ConfigMap
metadata:
name: "zap-automation-framework-migrate-advanced-scan-config"
data:
1-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kind: ConfigMap
metadata:
name: zap-baseline-automation-framework-config
data:
1-automation.yaml: |-
automation.yaml: |-
env: # The environment, mandatory
contexts : # List of 1 or more contexts, mandatory
Expand Down

0 comments on commit da8fcb0

Please sign in to comment.