2020-11-30 09:37:17 +00:00
|
|
|
common:
|
|
|
|
daemonize: true
|
|
|
|
log_media: file
|
|
|
|
log_level: info
|
|
|
|
log_dir: /var/log/
|
2022-04-28 15:19:03 +00:00
|
|
|
log_max_size: 20
|
|
|
|
compress_logs: true
|
|
|
|
log_max_files: 10
|
2020-11-30 09:37:17 +00:00
|
|
|
config_paths:
|
|
|
|
config_dir: /etc/crowdsec/
|
|
|
|
data_dir: /var/lib/crowdsec/data/
|
|
|
|
simulation_path: /etc/crowdsec/simulation.yaml
|
|
|
|
hub_dir: /etc/crowdsec/hub/
|
|
|
|
index_path: /etc/crowdsec/hub/.index.json
|
2021-08-25 09:43:29 +00:00
|
|
|
notification_dir: /etc/crowdsec/notifications/
|
2021-09-07 15:18:55 +00:00
|
|
|
plugin_dir: /usr/local/lib/crowdsec/plugins/
|
2020-11-30 09:37:17 +00:00
|
|
|
crowdsec_service:
|
2023-01-04 15:50:02 +00:00
|
|
|
#console_context_path: /etc/crowdsec/console/context.yaml
|
2020-11-30 09:37:17 +00:00
|
|
|
acquisition_path: /etc/crowdsec/acquis.yaml
|
2022-10-17 15:32:08 +00:00
|
|
|
acquisition_dir: /etc/crowdsec/acquis.d
|
2020-11-30 09:37:17 +00:00
|
|
|
parser_routines: 1
|
|
|
|
cscli:
|
|
|
|
output: human
|
2022-10-31 09:02:51 +00:00
|
|
|
color: auto
|
2020-11-30 09:37:17 +00:00
|
|
|
db_config:
|
|
|
|
log_level: info
|
|
|
|
type: sqlite
|
|
|
|
db_path: /var/lib/crowdsec/data/crowdsec.db
|
2022-02-17 16:52:04 +00:00
|
|
|
#max_open_conns: 100
|
2020-11-30 09:37:17 +00:00
|
|
|
#user:
|
|
|
|
#password:
|
|
|
|
#db_name:
|
|
|
|
#host:
|
|
|
|
#port:
|
|
|
|
flush:
|
|
|
|
max_items: 5000
|
|
|
|
max_age: 7d
|
2021-09-08 09:36:42 +00:00
|
|
|
plugin_config:
|
|
|
|
user: nobody # plugin process would be ran on behalf of this user
|
|
|
|
group: nogroup # plugin process would be ran on behalf of this group
|
2020-11-30 09:37:17 +00:00
|
|
|
api:
|
|
|
|
client:
|
2021-02-02 13:15:13 +00:00
|
|
|
insecure_skip_verify: false
|
2020-11-30 09:37:17 +00:00
|
|
|
credentials_path: /etc/crowdsec/local_api_credentials.yaml
|
|
|
|
server:
|
|
|
|
log_level: info
|
2020-12-08 11:45:36 +00:00
|
|
|
listen_uri: 127.0.0.1:8080
|
2020-11-30 09:37:17 +00:00
|
|
|
profiles_path: /etc/crowdsec/profiles.yaml
|
2022-01-21 10:52:23 +00:00
|
|
|
console_path: /etc/crowdsec/console.yaml
|
2021-08-25 16:30:05 +00:00
|
|
|
online_client: # Central API credentials (to push signals and receive bad IPs)
|
2020-11-30 09:37:17 +00:00
|
|
|
credentials_path: /etc/crowdsec/online_api_credentials.yaml
|
2022-03-16 16:28:34 +00:00
|
|
|
trusted_ips: # IP ranges, or IPs which can have admin API access
|
|
|
|
- 127.0.0.1
|
|
|
|
- ::1
|
2020-11-30 09:37:17 +00:00
|
|
|
# tls:
|
|
|
|
# cert_file: /etc/crowdsec/ssl/cert.pem
|
|
|
|
# key_file: /etc/crowdsec/ssl/key.pem
|
|
|
|
prometheus:
|
|
|
|
enabled: true
|
|
|
|
level: full
|
|
|
|
listen_addr: 127.0.0.1
|
|
|
|
listen_port: 6060
|