-
Notifications
You must be signed in to change notification settings - Fork 3
/
askgod.yaml.example
88 lines (65 loc) · 1.55 KB
/
askgod.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
# Daemon settings
daemon:
# Additional allowed HTTP origins
allowed_origins:
# If in a cluster, the URL of all the other nodes
cluster_peers:
# HTTP port to bind
http_port: 9080
# HTTPs port to bind
https_port: 443
# Prometheus HTTP port to bind
prometheus_port: 8081
# TLS certificate or file path
https_certificate:
# TLS key or file path
https_key:
# Log level (critical, error, warning, info or debug)
log_level: debug
# Log file path
log_file: askgod.log
# Database configuration
database:
# Database driver (only postgresql for now)
driver: postgres
# Database host (FQDN or IP)
host: localhost
# Database username
username: askgod
# Database password
password: askgod
# Database name
name: askgod
# Number of connections
connections: 5
# Scoring system configuration
scoring:
# Name of the event
event_name: "My CTF"
# Hide other teams (guest will see nothing, admins will still see everything)
hide_others: false
# Disable the submission of new flags
read_only: false
# Team configuration
teams:
# The team can select its initial details (but not update afterwards)
self_register: true
# The team can update its details at any time
self_update: true
# List of team names to keep hidden (only be visible to themselves and admin)
hidden:
- NorthSec
# Subnet restrictions
subnets:
# Admin API access
admins:
- ::1/128
- 127.0.0.1/32
# Team API access
teams:
- ::1/128
- 127.0.0.1/32
# Guest API access
guests:
- ::1/128
- 127.0.0.1/32