From e4ad70c129269f86680fef1931de24d80520a892 Mon Sep 17 00:00:00 2001 From: Andreas Thaler Date: Fri, 17 Jan 2025 15:00:58 +0100 Subject: [PATCH] chore: Fix security scanner setup (#1759) Co-authored-by: Hisar Balik --- internal/tools/populateimages/main.go | 4 ++-- sec-scanners-config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/tools/populateimages/main.go b/internal/tools/populateimages/main.go index d5b01f3b3..525ebba04 100644 --- a/internal/tools/populateimages/main.go +++ b/internal/tools/populateimages/main.go @@ -15,7 +15,7 @@ import ( type secScanConfig struct { ModuleName string `yaml:"module-name"` - Protocode []string `yaml:"protocode"` + Protecode []string `yaml:"protecode"` WhiteSource whiteSource `yaml:"whitesource"` } @@ -176,7 +176,7 @@ func generateSecScanConfig(data map[string]string) error { imgs := []string{data["ENV_IMG"], data["DEFAULT_FLUENTBIT_EXPORTER_IMAGE"], data["DEFAULT_FLUENTBIT_IMAGE"], data["DEFAULT_OTEL_COLLECTOR_IMAGE"], data["DEFAULT_SELFMONITOR_IMAGE"]} secScanCfg := secScanConfig{ ModuleName: "telemetry", - Protocode: imgs, + Protecode: imgs, WhiteSource: whiteSource{ Language: "golang-mod", Subprojects: false, diff --git a/sec-scanners-config.yaml b/sec-scanners-config.yaml index d3724d4b4..e0629422a 100644 --- a/sec-scanners-config.yaml +++ b/sec-scanners-config.yaml @@ -1,5 +1,5 @@ module-name: telemetry -protocode: +protecode: - europe-docker.pkg.dev/kyma-project/prod/telemetry-manager:main - europe-docker.pkg.dev/kyma-project/prod/directory-size-exporter:v20241212-e4adf27f - europe-docker.pkg.dev/kyma-project/prod/external/fluent/fluent-bit:3.2.2