* Add functional tests for plugins Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com> (cherry picked from commit 1a11c87296454aac1ebbc95c06b813ae67c91819) * Update plugin dir in functional tests Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com> * Update plugin process config in func tests Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com> * Robust config replacement Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
40 lines
1,005 B
YAML
40 lines
1,005 B
YAML
common:
|
|
daemonize: true
|
|
pid_dir: /var/run/
|
|
log_media: file
|
|
log_level: info
|
|
log_dir: ./
|
|
working_dir: .
|
|
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
|
|
notification_dir: /etc/crowdsec/notifications/
|
|
plugin_dir: /usr/local/lib/crowdsec/plugins
|
|
crowdsec_service:
|
|
acquisition_path: /etc/crowdsec/acquis.yaml
|
|
parser_routines: 1
|
|
cscli:
|
|
output: human
|
|
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
|
|
db_config:
|
|
log_level: info
|
|
type: sqlite
|
|
db_path: /var/lib/crowdsec/data/crowdsec.db
|
|
flush:
|
|
max_items: 5000
|
|
max_age: 7d
|
|
api:
|
|
client:
|
|
insecure_skip_verify: false
|
|
credentials_path: /etc/crowdsec/local_api_credentials.yaml
|
|
prometheus:
|
|
enabled: true
|
|
level: full
|
|
listen_addr: 127.0.0.1
|
|
listen_port: 6060
|