-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml
44 lines (42 loc) · 904 Bytes
/
example.yaml
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
# this can help to detect directory bruteforcing
elk_host: http://localhost:9200
elk_username: elk_alerts
elk_password: 'your_super_secure_password'
elk_index: 'your-index-*'
elk_threshold: 100
elk_query: |
{
"query": {
"bool": {
"filter": [
{
"range": {
"@timestamp": {
"gte": "now-5m"
}
}
},
{
"term": {
"response.keyword": {
"value": 404
}
}
}
]
}
},
"size": 0,
"aggs": {
"aggs_data": {
"terms": {
"field": "client_ip.keyword"
}
}
}
}
# aggs must contain aggs_data
whitelist: ['1.1.1.1','1.0.0.1']
# slack webhook configs
slack_webhook: https://hooks.slack.com/services/your/slack/webhook
slack_message_title: "*Test Message* :bomb:"