-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.toml
66 lines (52 loc) · 1.43 KB
/
config.toml
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
[log]
# log levels all, debug, error, info, warn
level ="$LOG_LEVEL"
[server]
port = $PORT
[db]
connection_string = "host=$PG_HOST port=$PG_PORT user=$PG_USER dbname=$PG_NAME password=$PG_PASSWORD sslmode=$PG_SSLMODE"
migrations_subdir = ""
[vulcan]
schema = "http"
host = "$PERSISTENCE_HOST"
cache = "$PERSISTENCE_CACHE"
[sqs]
disabled = false
number_of_processors = $CHECKS_SQS_PROCESSORS
log_messages = false
polling_interval = $CHECKS_SQS_INTERVAL
wait_time = $CHECKS_SQS_WAIT
timeout = $CHECKS_SQS_TIMEOUT
queue_arn = "$CHECKS_SQS_ARN"
endpoint = "$AWS_SQS_ENDPOINT"
[scans_sns]
topic_arn = "$SCANS_SNS_ARN"
endpoint = "$AWS_SNS_ENDPOINT"
enabled = true
[checks_sns]
topic_arn = "$CHECKS_SNS_ARN"
endpoint = "$AWS_SNS_ENDPOINT"
enabled = true
[metrics]
enabled = $DOGSTATSD_ENABLED
[stream]
url = "$STREAM_URL"
[check_creator]
num_of_workers = $CHECKS_CREATOR_WORKERS
# in seconds.
period = $CHECKS_CREATOR_PERIOD
checkpoint = $CHECKS_CREATOR_CHECKPOINT
[queues]
[queues.default]
arn = "$QUEUES_DEFAULT_ARN"
# This will be depracted in favor of a more dynamic way (see below)
[queues.nessus]
arn = "$QUEUES_NESSUS_ARN"
checktypes = $QUEUES_NESSUS_CHECKTYPES
# This will be populated by run.sh with a dynamic list of queues based on env variables
# [queues.q1]
# arn = "$QUEUES_1_ARN"
# checktypes = $QUEUES_1_CHECKTYPES
# [queues.q2]
# arn = "$QUEUES_2_ARN"
# checktypes = $QUEUES_2_CHECKTYPES