Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scanners/typo3scan/templates/cascading-rules.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# SPDX-FileCopyrightText: 2021 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0

# We only want to import the default cascading rules if they are enabled
{{ if .Values.cascadingRules.enabled }}
# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :(
# We import them as raw files to avoid these clashes as escaping them is even more messy
{{ range $path, $_ := .Files.Glob "cascading-rules/*" }}
# Include File
{{ $.Files.Get $path }}
# Separate multiple files
---
{{ end }}
{{ end }}
{{ end }}
4 changes: 2 additions & 2 deletions scanners/zap-advanced/templates/cascading-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

# We only want to import the default cascading rules if they are enabled
{{ if .Values.cascadingRules.enabled }}
# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :(
# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :(
# We import them as raw files to avoid these clashes as escaping them is even more messy
{{ range $path, $_ := .Files.Glob "cascading-rules/*" }}
# Include File
{{ $.Files.Get $path }}
# Separate multiple files
---
{{ end }}
{{ end }}
{{ end }}