Skip to content

Commit 8c8b5bf

Browse files
committed
fix inconsistent datasource references
1 parent 0c57e05 commit 8c8b5bf

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

rules/cre-2024-0021/keda-nil-pointer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rules:
4040
set:
4141
window: 5s
4242
event:
43-
source: cre.log.keda-operator.2.*
43+
source: cre.log.keda-operator
4444
match:
4545
- value: "ResolveScaleTargetPodSpec"
4646
- value: "scale_resolvers.go"

rules/cre-2025-0028/opentelemetry-python-fails-to.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rules:
3838
rule:
3939
set:
4040
event:
41-
source: cre.log.opentelemetry-python
41+
source: cre.log.opentelemetry-collector
4242
window: 5s
4343
match:
4444
- value: ERROR opentelemetry.context:Failed to detach context

rules/cre-2025-0088/nats-slow-consumer-concise.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ rules:
4747
rule:
4848
set:
4949
event:
50-
source: cre.log.nats.jetstream
50+
source: cre.log.nats
5151
match:
5252
- regex: '(?i)jetstream\s+failed\s+to\s+store.*maximum\s+bytes\s+exceeded'
5353
count: 1

rules/cre-2025-0090/loki-log-line-long.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ rules:
5151
rule:
5252
set: # Using 'set' for single event matching, as it's a single log line detection
5353
event:
54-
source: Alloy log
54+
source: cre.log.alloy
5555
match:
5656
- regex: level=error(.+)final error sending batch(.+)component_id=loki\.write\.endpoint(.+)error(.+)server returned HTTP status 400 Bad Request(.+)Max entry size(.+)exceeded for stream

rules/cre-2025-0104/istio-ambient-xds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ rules:
4242
rule:
4343
set:
4444
event:
45-
source: cre.log.ambient
45+
source: cre.log.istiod
4646
match:
4747
- regex: "timed out waiting for workload .* from xds"
4848
negate:

rules/cre-2025-0106/ambient-cni-sandbox-creation-failure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ rules:
4949
set:
5050
window: 60s
5151
event:
52-
source: cre.log.ambient
52+
source: cre.kubernetes
5353
match:
5454
- regex: "FailedCreatePodSandBox"
5555
- regex: "no ztunnel connection"

rules/cre-2025-0108/istio-readiness-probe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ rules:
4646
set:
4747
window: 300s
4848
event:
49-
source: cre.log.ambient
49+
source: cre.kubernetes
5050
match:
5151
- regex: "Readiness probe failed:"
5252
count: 4

rules/cre-2025-0109/istio-ambient-status-codes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rules:
4444
rule:
4545
set:
4646
event:
47-
source: cre.log.ambient
47+
source: cre.log.istio-proxy
4848
match:
4949
- regex: "status=(?:4[0-9]{2}|5[0-9]{2})"
5050
negate: []

rules/cre-2025-0110/ztunnel-traffic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ rules:
4343
set:
4444
window: 180s
4545
event:
46-
source: cre.log.ambient
46+
source: cre.log.istio-proxy
4747
match:
4848
- regex: 'error +access +connection +complete +.*error="io error: deadline has elapsed"'
4949
- regex: 'error +access +connection +complete +.*error="connection timed out, maybe a NetworkPolicy is blocking HBONE port 15008: deadline has elapsed"'

rules/cre-2025-0115/mongodb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rules:
3838
rule:
3939
set:
4040
event:
41-
source: mongodb
41+
source: cre.log.mongodb
4242
match:
4343
- regex: "Slow query"
4444
negate:

0 commit comments

Comments
 (0)