crowdsec/pkg/csconfig/testdata/config.yaml
mmetc 9ae8bd79c5
Refact pkg/csconfig tests (#2526)
* remove unused method
* whitespace, redundant comments
* use test helpers
* move DumpConsoleConfig() from pkg/csconfig to cscli
* package doc header
* var -> const
* rename ./tests -> ./testdata
* shorter tests with more error checks
* lint/formatting
* use helpers; fix tests that didn't actually test
* lint; rename expectedResult -> expected
2023-10-09 11:10:51 +02:00

38 lines
751 B
YAML

common:
daemonize: false
log_media: stdout
log_level: info
working_dir: .
prometheus:
enabled: true
level: full
crowdsec_service:
acquisition_path: ./testdata/acquis.yaml
parser_routines: 1
cscli:
output: human
db_config:
user: ""
password: ""
db_name: ""
host: ""
port: 0
db_path: ./crowdsec.db
type: sqlite
api:
client:
credentials_path: ./testdata/lapi-secrets.yaml
server:
profiles_path: ./testdata/profiles.yaml
listen_uri: 127.0.0.1:8080
tls: null
online_client:
credentials_path: ./testdata/online-api-secrets.yaml
config_paths:
config_dir: ./testdata
data_dir: .
simulation_path: ./testdata/simulation.yaml
index_path: ./testdata/hub/.index.json
hub_dir: ./testdata/hub