From 6231ec3a8cea524d4f5c4b81aca61492b49a67ab Mon Sep 17 00:00:00 2001 From: Laurent Sibilla Date: Fri, 3 Oct 2025 17:15:05 +0200 Subject: [PATCH 1/2] minor fixes --- VERSION | 2 +- rules/cre-2025-0135/supabase-migration-errors.yaml | 2 +- .../cre-2025-0122 => cre-2025-0203}/envoy-proxy-crash.yaml | 4 ++-- rules/{cre-2025-0105/cre-2025-0122 => cre-2025-0203}/test.log | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename rules/{cre-2025-0105/cre-2025-0122 => cre-2025-0203}/envoy-proxy-crash.yaml (96%) rename rules/{cre-2025-0105/cre-2025-0122 => cre-2025-0203}/test.log (100%) diff --git a/VERSION b/VERSION index 2fb885a..b3682c1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.48 +0.3.49 diff --git a/rules/cre-2025-0135/supabase-migration-errors.yaml b/rules/cre-2025-0135/supabase-migration-errors.yaml index 3121cac..b5f11f0 100644 --- a/rules/cre-2025-0135/supabase-migration-errors.yaml +++ b/rules/cre-2025-0135/supabase-migration-errors.yaml @@ -69,7 +69,7 @@ rules: set: window: 5m event: - source: cre.log.postgres + source: cre.log.postgresql match: - regex: 'syntax error at or near|ERROR.*invalid syntax|SQL.*parse error' - regex: 'relation.*does not exist|column.*does not exist|invalid.*data.*type' diff --git a/rules/cre-2025-0105/cre-2025-0122/envoy-proxy-crash.yaml b/rules/cre-2025-0203/envoy-proxy-crash.yaml similarity index 96% rename from rules/cre-2025-0105/cre-2025-0122/envoy-proxy-crash.yaml rename to rules/cre-2025-0203/envoy-proxy-crash.yaml index b0653ec..f925023 100644 --- a/rules/cre-2025-0105/cre-2025-0122/envoy-proxy-crash.yaml +++ b/rules/cre-2025-0203/envoy-proxy-crash.yaml @@ -3,7 +3,7 @@ rules: kind: prequel id: Xf7XtYhAqPrV2ZaC1Kj4Lm cre: - id: CRE-2025-0105 + id: CRE-2025-0203 severity: 0 title: Envoy Proxy Crash Due to Assertion Failure category: envoy-proxy-failures @@ -37,7 +37,7 @@ rules: set: window: 1s event: - source: cre.log + source: cre.log.envoy match: - regex: '(?i)critical\]\[assert\]' count: 1 diff --git a/rules/cre-2025-0105/cre-2025-0122/test.log b/rules/cre-2025-0203/test.log similarity index 100% rename from rules/cre-2025-0105/cre-2025-0122/test.log rename to rules/cre-2025-0203/test.log From dd24080dd7a5711e834e61245d27632fd9d07f3e Mon Sep 17 00:00:00 2001 From: Laurent Sibilla Date: Fri, 3 Oct 2025 17:27:33 +0200 Subject: [PATCH 2/2] fix cre-2025-0202 id --- rules/cre-2025-0202/aws-ebs-csi-driver-fails-to.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/cre-2025-0202/aws-ebs-csi-driver-fails-to.yaml b/rules/cre-2025-0202/aws-ebs-csi-driver-fails-to.yaml index 9db9774..16f4ce0 100644 --- a/rules/cre-2025-0202/aws-ebs-csi-driver-fails-to.yaml +++ b/rules/cre-2025-0202/aws-ebs-csi-driver-fails-to.yaml @@ -1,6 +1,6 @@ rules: - cre: - id: CRE-2025-0201 + id: CRE-2025-0202 severity: 3 title: The snapshot functionality of the AWS EBS CSI Driver is failing. category: storage-problem