|
|
|
@ -7,6 +7,14 @@ cs_archive_url: https://github.com/crowdsecurity/crowdsec/releases/download/v{{ |
|
|
|
|
# Expected sha1 of the archive |
|
|
|
|
cs_archive_sha1: 060782df0b6a8a799c1c0e6efc874b26ca9988e6 |
|
|
|
|
|
|
|
|
|
# Crowdsec usually should run as root to be able to access all your logs |
|
|
|
|
# but in some situations, when all your logs are readable by a less privileged user, you can run |
|
|
|
|
# crowdsec as another user account, for better security |
|
|
|
|
cs_user: root |
|
|
|
|
|
|
|
|
|
# Directory where data will be stored |
|
|
|
|
cs_root_dir: /opt/crowdsec |
|
|
|
|
|
|
|
|
|
# Can be sqlite or mysql |
|
|
|
|
cs_db_engine: sqlite |
|
|
|
|
# This is for mysql backend |
|
|
|
@ -49,25 +57,30 @@ cs_prometheus_port: 6060 |
|
|
|
|
cs_prometheus_src_ip: [] |
|
|
|
|
|
|
|
|
|
# Default duration of a ban |
|
|
|
|
cs_ban_duration: 15m |
|
|
|
|
cs_trusted_countries: |
|
|
|
|
- FR |
|
|
|
|
# Duration of bans for attacks from trusted countries |
|
|
|
|
cs_ban_trusted_duration: 15m |
|
|
|
|
# Default duration of a ban |
|
|
|
|
cs_ban_duration: 2h |
|
|
|
|
|
|
|
|
|
# List of parsers to install from the hub |
|
|
|
|
cs_parsers: [] |
|
|
|
|
# - crowdsecurity/syslog-logs |
|
|
|
|
# - crowdsecurity/geoip-enrich |
|
|
|
|
# - crowdsecurity/dateparse-enrich |
|
|
|
|
# - crowdsecurity/whitelists |
|
|
|
|
# - crowdsecurity/sshd-logs |
|
|
|
|
# - crowdsecurity/iptables-logs |
|
|
|
|
cs_parsers: |
|
|
|
|
- crowdsecurity/syslog-logs |
|
|
|
|
- crowdsecurity/geoip-enrich |
|
|
|
|
- crowdsecurity/dateparse-enrich |
|
|
|
|
- crowdsecurity/whitelists |
|
|
|
|
- crowdsecurity/sshd-logs |
|
|
|
|
- crowdsecurity/iptables-logs |
|
|
|
|
# List of scenarios to install from the hub |
|
|
|
|
cs_scenarios: [] |
|
|
|
|
# - crowdsecurity/ban-defcon-drop_range |
|
|
|
|
# - crowdsecurity/ssh-bf |
|
|
|
|
cs_scenarios: |
|
|
|
|
- crowdsecurity/ban-defcon-drop_range |
|
|
|
|
- crowdsecurity/ssh-bf |
|
|
|
|
# List of postoverflows to install from the hub |
|
|
|
|
cs_postoverflows: [] |
|
|
|
|
# - crowdsecurity/cdn-whitelist |
|
|
|
|
# - crowdsecurity/rdns |
|
|
|
|
# - crowdsecurity/seo-bots-whitelist |
|
|
|
|
cs_postoverflows: |
|
|
|
|
- crowdsecurity/cdn-whitelist |
|
|
|
|
- crowdsecurity/rdns |
|
|
|
|
- crowdsecurity/seo-bots-whitelist |
|
|
|
|
|
|
|
|
|
# If not set, crowdsec will look for yaml files in /etc/crowdsec/acquis/ |
|
|
|
|
# The default will only read syslog using journalctl |
|
|
|
|