File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ # Rule name, must be unique
2+ name : Integration Started
3+
4+ # Alert on x events in y seconds
5+ type : frequency
6+ use_terms_query : true
7+
8+ # Alert when this many documents matching the query occur within a timeframe
9+ num_events : 1
10+
11+ # num_events must occur within this amount of time to trigger an alert
12+ timeframe :
13+ hours : 1
14+
15+ # When the attacker continues, send a new alert after x minutes
16+ realert :
17+ days : 7
18+
19+ query_key :
20+ - meta.provider
21+ - endpoint.name
22+
23+ include :
24+ - meta.provider
25+ - endpoint.name
26+
27+ alert_subject : " Integration started on <{}> | <{}|Show Dashboard>"
28+ alert_subject_args :
29+ - endpoint.name
30+ - kibana_link
31+
32+ alert_text : |-
33+ Integration on {} has started with plugin {}.
34+
35+ alert_text_args :
36+ - endpoint.name
37+ - meta.provider
38+
39+ # The alert when a match is found
40+ alert :
41+ - slack
42+
43+ slack_webhook_url : " https://hooks.slack.com/services/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"
44+ slack_username_override : " ElastAlert"
45+
46+ # Alert body only cointains a title and text
47+ alert_text_type : alert_text_only
48+
49+ # Link to BitSensor Kibana Dashboard
50+ use_kibana4_dashboard : " https://dev.bitsensor.io/app/kibana#/dashboard/Pre-Integration"
51+
52+ # Index to search, wildcard supported
53+ index : bitsensor
54+ timestamp_field : endpoint.localtime
55+ doc_type : datapoint
You can’t perform that action at this time.
0 commit comments