Skip to content

Commit

Permalink
Merge branch 'main' into replace-removed-app-labels-for-ingress-nginx…
Browse files Browse the repository at this point in the history
…-and-external-dns
  • Loading branch information
QuentinBisson authored Sep 23, 2024
2 parents 133d337 + 3c25fd2 commit 06af144
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Dashboard links in alertmanager and mimir rules
- Remove useless app labels for external-dns and ingress-nginx alerts.
- Remove deprecated app labels for external-dns and ingress-nginx alerts.
- Fix falco events alerts node label to hostname as node does not exist.

## [4.15.2] - 2024-09-17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ spec:
- alert: FalcoCriticalAlertFiring
annotations:
description: |-
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.node }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.node }}.{{ end }}`}}
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.hostname }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.hostname }}.{{ end }}`}}
opsrecipe: falco-alert/
expr: increase(falco_events{priority=~"0|1|2|3"}[10m] ) > 0
labels:
Expand All @@ -32,8 +32,8 @@ spec:
- alert: FalcoMediumAlertFiring
annotations:
description: |-
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.node }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.node }}.{{ end }}`}}
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.hostname }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.hostname }}.{{ end }}`}}
opsrecipe: falco-alert/
expr: increase(falco_events{priority=~"4|5"}[10m] ) > 0
labels:
Expand All @@ -47,8 +47,8 @@ spec:
- alert: FalcoInformationalAlert
annotations:
description: |-
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.node }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.node }}.{{ end }}`}}
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.hostname }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.hostname }}.{{ end }}`}}
opsrecipe: falco-alert/
expr: increase(falco_events{priority="6"}[10m] ) > 0
labels:
Expand All @@ -62,8 +62,8 @@ spec:
- alert: FalcoXZBackdoorAlert
annotations:
description: |-
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.node }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.node }}.{{ end }}`}}
{{`{{ if eq $labels.k8s_pod_name "<NA>" }}The Falco rule {{ $labels.rule }} was triggered on the node {{ $labels.hostname }}.
{{else}}Pod {{ $labels.k8s_ns_name }}/{{ $labels.k8s_pod_name }} triggered the Falco rule {{ $labels.rule }} on the node {{ $labels.hostname }}.{{ end }}`}}
opsrecipe: falco-alert/
expr: falco_events{rule="Backdoored library loaded into SSHD (CVE-2024-3094)"} > 0
labels:
Expand Down

0 comments on commit 06af144

Please sign in to comment.