forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfalco-alerts.yml
More file actions
53 lines (50 loc) · 1.39 KB
/
Copy pathfalco-alerts.yml
File metadata and controls
53 lines (50 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Falco Alertmanager routing — receives events from falcosidekick
# Merged into alertmanager.yml routing tree
apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
name: falco-routing
namespace: monitoring
labels:
alertmanagerConfig: falco
spec:
route:
receiver: falco-default
groupBy: [alertname, container_name]
groupWait: 10s
groupInterval: 5m
repeatInterval: 1h
matchers:
- name: source
value: falco
routes:
- receiver: falco-critical
matchers:
- name: priority
value: CRITICAL
groupWait: 0s
repeatInterval: 15m
- receiver: falco-warning
matchers:
- name: priority
value: WARNING
receivers:
- name: falco-default
webhookConfigs:
- url: "http://falcosidekick.falco:2801/"
sendResolved: false
- name: falco-critical
webhookConfigs:
- url: "http://falcosidekick.falco:2801/"
sendResolved: false
# PagerDuty integration for critical findings
pagerdutyConfigs:
- routingKey:
name: pagerduty-secret
key: falco-routing-key
description: "Falco CRITICAL: {{ .CommonAnnotations.output }}"
severity: critical
- name: falco-warning
webhookConfigs:
- url: "http://falcosidekick.falco:2801/"
sendResolved: false