-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.toml
44 lines (39 loc) · 1.13 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
# Defines the max age, in days an event can have to be considered. Events
# older than this age are discarded. If 0 no events are discarded.
max_event_age = $MAX_EVENT_AGE
[log]
# log levels: panic, fatal, error, warn, info, debug, trace
level ="$LOG_LEVEL"
[db]
dialect = "postgres"
host = "$PG_HOST"
port = "$PG_PORT"
user = "$PG_USER"
password = "$PG_PASSWORD"
sslmode = "$PG_SSLMODE"
name = "$PG_NAME"
[sqs]
number_of_processors = $SQS_NUMBER_OF_PROCESSORS
wait_time = 20
timeout = 600
queue_arn = "$SQS_QUEUE_ARN"
endpoint = "$AWS_SQS_ENDPOINT"
[sns]
topic_arn = "$SNS_TOPIC_ARN"
enabled = true
endpoint = "$AWS_SNS_ENDPOINT"
[report]
url_replace = "$RESULTS_URL|$RESULTS_INTERNAL_URL"
[maintenance]
# periodical tasks executed in background
# - name: Custom task name
# - type: Task type
# - rate: Time (hours) after which the task will be periodically executed
# - options: Custom option params for each type
#
# available task types:
# - expire_findings { ttl: Expire time in days, source: findings source name }
#
tasks = [
{name = "expire_vulcan_findings", type = "expire_findings", rate = 24, options = { ttl=60, source="vulcan" }}
]