2019-07-09 02:46:08 +02:00
|
|
|
environment: test
|
|
|
|
|
|
|
|
connectors:
|
|
|
|
- file: connectorTest
|
|
|
|
name: tes
|
|
|
|
params:
|
|
|
|
testType: withdrawal
|
|
|
|
|
|
|
|
monitors:
|
|
|
|
- file: monitorHijack
|
|
|
|
channel: hijack
|
|
|
|
name: basic-hijack-detection
|
2019-10-05 16:32:37 +02:00
|
|
|
params:
|
|
|
|
thresholdMinPeers: 0
|
2019-07-09 02:46:08 +02:00
|
|
|
|
|
|
|
- file: monitorNewPrefix
|
|
|
|
channel: newprefix
|
|
|
|
name: prefix-detection
|
2019-10-05 16:32:37 +02:00
|
|
|
params:
|
|
|
|
thresholdMinPeers: 0
|
2019-07-09 02:46:08 +02:00
|
|
|
|
|
|
|
- file: monitorVisibility
|
|
|
|
channel: visibility
|
|
|
|
name: withdrawal-detection
|
|
|
|
params:
|
2019-10-05 16:32:37 +02:00
|
|
|
thresholdMinPeers: 4
|
2019-07-09 02:46:08 +02:00
|
|
|
|
2019-09-27 19:10:16 +02:00
|
|
|
- file: monitorPath
|
|
|
|
channel: path
|
|
|
|
name: path-matching
|
2019-10-05 16:32:37 +02:00
|
|
|
params:
|
|
|
|
thresholdMinPeers: 0
|
2019-09-27 19:10:16 +02:00
|
|
|
|
2019-07-09 02:46:08 +02:00
|
|
|
reports:
|
|
|
|
- file: reportFile
|
|
|
|
channels:
|
|
|
|
- hijack
|
|
|
|
- newprefix
|
|
|
|
- visibility
|
2019-09-27 19:10:16 +02:00
|
|
|
- path
|
2019-07-10 18:05:08 +02:00
|
|
|
|
2019-07-09 02:46:08 +02:00
|
|
|
notificationIntervalSeconds: 1800 # Repeat the same alert (which keeps being triggered) after x seconds
|
2019-11-19 00:43:40 +01:00
|
|
|
alertOnlyOnce: false
|
2019-07-09 02:46:08 +02:00
|
|
|
|
|
|
|
# The file containing the monitored prefixes. Please see monitored_prefixes_test.yml for an example
|
|
|
|
# This is an array (use new lines and dashes!)
|
|
|
|
monitoredPrefixesFiles:
|
|
|
|
- tests/prefixes.test.yml
|
|
|
|
|
|
|
|
logging:
|
|
|
|
directory: logs
|
|
|
|
logRotatePattern: YYYY-MM-DD # Whenever the pattern changes, a new file is created and the old one rotated
|
|
|
|
zippedArchive: true
|
|
|
|
maxSize: 20m
|
|
|
|
maxFiles: 14d
|
2019-09-19 22:36:12 +02:00
|
|
|
|
|
|
|
checkForUpdatesAtBoot: true
|