forked from RedHatInsights/insights-results-aggregator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
61 lines (53 loc) · 1.25 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
[broker]
address = "localhost:29092"
security_protocol = ""
sasl_mechanism = "PLAIN"
sasl_username = "username"
sasl_password = "password"
topic = "ccx.ocp.results"
payload_tracker_topic = "platform.payload-status"
dead_letter_queue_topic = "dead.letter.queue"
service_name = "insights-results-aggregator"
group = "aggregator"
enabled = true
enable_org_allowlist = false
client_id = "db-writer"
display_message_with_wrong_structure = true
[server]
address = ":8080"
api_prefix = "/api/v1/"
api_spec_file = "openapi.json"
debug = true
auth = true
auth_type = "xrh"
maximum_feedback_message_length = 255
org_overview_limit_hours = 2
[processing]
org_allowlist_file = "org_allowlist.csv"
[storage]
db_driver = "sqlite3"
sqlite_datasource = "./aggregator.db"
log_sql_queries = true
type = "sql"
[redis]
database = 0
endpoint = "localhost:6379"
password = ""
timeout_seconds = 30
[content]
path = "/rules-content"
[logging]
debug = false
log_level = ""
logging_to_cloud_watch_enabled = false
[cloudwatch]
aws_access_id = "a key id"
aws_secret_key = "tshhhh it is a secret"
aws_session_token = ""
aws_region = "us-east-1"
log_group = "platform-dev"
stream_name = "insights-results-aggregator"
debug = false
create_stream_if_not_exists = false
[metrics]
namespace = "aggregator"