mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-14 05:14:06 +02:00
* 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
37 lines
751 B
YAML
37 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
|
|
|