2020-11-30 09:37:17 +00:00
|
|
|
common:
|
|
|
|
daemonize: true
|
|
|
|
log_media: stdout
|
|
|
|
log_level: info
|
|
|
|
working_dir: .
|
|
|
|
config_paths:
|
|
|
|
config_dir: ./config
|
2021-09-24 16:06:30 +00:00
|
|
|
data_dir: ./data/
|
|
|
|
notification_dir: ./config/notifications/
|
|
|
|
plugin_dir: ./plugins/
|
2020-11-30 09:37:17 +00:00
|
|
|
#simulation_path: /etc/crowdsec/config/simulation.yaml
|
|
|
|
#hub_dir: /etc/crowdsec/hub/
|
|
|
|
#index_path: ./config/hub/.index.json
|
|
|
|
crowdsec_service:
|
2021-02-17 12:55:36 +00:00
|
|
|
acquisition_path: ./config/acquis.yaml
|
2020-11-30 09:37:17 +00:00
|
|
|
parser_routines: 1
|
2021-09-24 16:06:30 +00:00
|
|
|
plugin_config:
|
|
|
|
user: $USER # plugin process would be ran on behalf of this user
|
|
|
|
group: $USER # plugin process would be ran on behalf of this group
|
2020-11-30 09:37:17 +00:00
|
|
|
cscli:
|
|
|
|
output: human
|
|
|
|
db_config:
|
|
|
|
type: sqlite
|
|
|
|
db_path: ./data/crowdsec.db
|
|
|
|
user: root
|
|
|
|
password: crowdsec
|
|
|
|
db_name: crowdsec
|
|
|
|
host: "172.17.0.2"
|
|
|
|
port: 3306
|
|
|
|
flush:
|
|
|
|
#max_items: 10000
|
|
|
|
#max_age: 168h
|
|
|
|
api:
|
|
|
|
client:
|
|
|
|
credentials_path: ./config/local_api_credentials.yaml
|
|
|
|
server:
|
|
|
|
#insecure_skip_verify: true
|
2020-12-08 11:45:36 +00:00
|
|
|
listen_uri: 127.0.0.1:8081
|
2020-11-30 09:37:17 +00:00
|
|
|
profiles_path: ./config/profiles.yaml
|
|
|
|
tls:
|
|
|
|
#cert_file: ./cert.pem
|
|
|
|
#key_file: ./key.pem
|
2021-08-25 16:30:05 +00:00
|
|
|
online_client: # Central API
|
2020-11-30 09:37:17 +00:00
|
|
|
credentials_path: ./config/online_api_credentials.yaml
|
|
|
|
prometheus:
|
|
|
|
enabled: true
|
|
|
|
level: full
|