This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
config.yaml.example
94 lines (90 loc) · 3.44 KB
/
config.yaml.example
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# All values below are shown with their default values, except
# for required values which do not have a default value and
# optional settings which are unset by default.
# Note that required settings do not have to be provided via the
# configuration file but can also be passed as environment
# variables; see the README for details.
logging:
console: true
console_verbosity: INFO # One of "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL".
file: false
file_verbosity: INFO
filename: threatbus.log
plugins:
backbones:
# Requires the 'threatbus-inmem' package to be installed
inmem: {}
# Requires the 'threatbus-rabbitmq' package to be installed
rabbitmq:
host: localhost # Required.
port: 5672 # Required.
username: guest # Required.
password: guest # Required.
vhost: /
exchange_name: threatbus
queue:
name_suffix: "my_suffix" # Optional. Default is the result of `gethostname()`.
name_join_symbol: . # Queue will be named "threatbus" + join_symbol + name_suffix
durable: true
auto_delete: false
lazy: true
exclusive: false
max_items: 0 # The value 0 to allow infinite length
apps:
# Requires the 'threatbus-zeek' package to be installed
zeek:
host: "127.0.0.1"
port: 47761
module_namespace: Tenzir
# Requires the 'threatbus-misp' package to be installed
misp:
api: # Optional. If present, all of 'host', 'ssl', 'key' are required.
host: https://localhost
ssl: false
key: MISP_API_KEY
filter: # Optional.
- orgs: # org IDs must be strings: https://github.com/MISP/PyMISP/blob/main/pymisp/data/schema.json
- "1"
- "25"
tags:
- "TLP:AMBER"
- "TLP:RED"
types: # MISP attribute types https://github.com/MISP/misp-objects/blob/main/schema_objects.json
- ip-src
- ip-dst
- hostname
- domain
- url
# Requires threatbus-misp[zmp] to be installed.
zmq:
host: localhost # Required.
port: 50000 # Required.
# Requires threatbus-misp[kafka] to be installed.
kafka:
topics: # Required.
- misp_attribute
poll_interval: 1.0
# All config entries are passed as-is to librdkafka
# https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
config: # Required.
bootstrap.servers: "localhost:9092"
group.id: "threatbus"
auto.offset.reset: "earliest"
# Requires the 'threatbus-zmq' package to be installed.
zmq:
host: "127.0.0.1" # Required.
manage: 13370 # Required. The port used for management messages.
pub: 13371 # Required. The port used to publish messages to connected apps.
sub: 13372 # Required. The port used to receive messages from connected apps.
# Requires the 'threatbus-cif3' package to be installed.
cif3:
api:
host: http://localhost:5000 # Required.
ssl: false # Required.
token: CIF_TOKEN # Required.
group: everyone
confidence: 7.5
tlp: amber
tags: # Required.
- test
- malicious