Skip to content

Commit

Permalink
Migrate to Checkmarx One (#993)
Browse files Browse the repository at this point in the history
* Update sec-scanners-config.yaml - Migration to Checkmarx One

* Update create_scan_config.sh - Migration to Checkmarx One
  • Loading branch information
ralikio authored Feb 20, 2025
1 parent 66c7296 commit 08a7550
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
20 changes: 14 additions & 6 deletions scripts/create_scan_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,32 @@ echo "Creating security scan configuration file:"
if [ -n "${TAG}" ]; then
cat <<EOF | tee ${FILENAME}
module-name: btp-operator
kind: kyma
rc-tag: ${TAG}
protecode:
bdba:
- ${IMAGE}
whitesource:
mend:
language: golang-mod
subprojects: false
exclude:
- "**/*_test.go"
checkmarx-one:
preset: go-default
exclude:
- '**/*_test.go'"
EOF
else
cat <<EOF | tee ${FILENAME}
module-name: btp-operator
protecode:
kind: kyma
bdba:
- ${IMAGE}
whitesource:
mend:
language: golang-mod
subprojects: false
exclude:
- "**/*_test.go"
checkmarx-one:
preset: go-default
exclude:
- '**/*_test.go'"
EOF
fi
10 changes: 7 additions & 3 deletions sec-scanners-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
module-name: btp-operator
kind: kyma
rc-tag: 1.2.0
protecode:
bdba:
- europe-docker.pkg.dev/kyma-project/prod/btp-manager:1.2.0
whitesource:
mend:
language: golang-mod
subprojects: false
exclude:
- "**/*_test.go"
checkmarx-one:
preset: go-default
exclude:
- '**/*_test.go'

0 comments on commit 08a7550

Please sign in to comment.