# The CrowdSec hub items the crowdsec-hub recipe installs (recipes/crowdsec-hub/build.sh): one "<kind>:<author>/<name>"
# a line, each taken at the version the pinned .index.json names. A collection brings the parsers, scenarios,
# postoverflows, contexts and collections it lists, followed down. build.sh's ITEMS_SHA256 is this file's sha256: the
# recipe's key covers build.sh, not this file.

# Web servers: the parsers of nginx's and Apache httpd's access and error logs; the nginx collection brings the HTTP
# scenarios, which read the lines of both (probing, crawling, brute force, path traversal, SQL injection and XSS
# probes, bad user agents, known CVEs), and the context an HTTP alert carries
collections:crowdsecurity/nginx
collections:crowdsecurity/apache2

# WordPress sites: login brute force, user enumeration, wp-config probing
collections:crowdsecurity/wordpress

# Mail: Postfix (SMTP and postscreen) and Dovecot (failed logins)
collections:crowdsecurity/postfix
collections:crowdsecurity/dovecot

# The first stage of every line: a syslog line gets its program from the syslog header; the file's second parser,
# crowdsecurity/non-syslog, gives any other line the program its acquisition's type label names
parsers:crowdsecurity/syslog-logs

# The time a parser read from the line (evt.StrTime) becomes the event's time
parsers:crowdsecurity/dateparse-enrich

# No alert for loopback addresses and the private IPv4 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
parsers:crowdsecurity/whitelists

# No ban after an alert for Cloudflare's addresses or for search engines' crawlers (by address, and by the reverse DNS
# name rdns looks up)
postoverflows:crowdsecurity/cdn-whitelist
postoverflows:crowdsecurity/seo-bots-whitelist
postoverflows:crowdsecurity/rdns
