Skip to main content
Security Engine version:
Version: v1.7

Introduction

Collections are bundles of detection content that you install together to support a given service or use case (for example: NGINX, SSH, WordPress, or generic HTTP attacks).

In practice, a collection is a YAML file that references other Hub items such as:

  • Parsers: extract structured fields from raw log lines. See Parsers.
  • Scenarios: detect behaviors by correlating events over time. See Scenarios.
  • Postoverflows: additional processing after a scenario triggers (often used for last-chance whitelisting). See Postoverflows and Whitelists.
  • Contexts: enrich alerts with additional key/value fields. See Alert Context.
  • AppSec rules / configurations: WAF rules and their configuration. See AppSec and AppSec configuration.

Why collections exist

Collections are the recommended way to install detection content because they:

  • Keep configurations consistent (the right parsers + scenarios shipped together).
  • Make installation and updates easier (one package per service).
  • Reduce missed detections caused by incomplete installs.

Installing and updating collections

Collections are distributed via the CrowdSec Hub and managed with cscli:

Collection file format

To understand what a collection can contain (and how it is defined), see Collection format.

CrowdSec Docs
We use cookies

This site uses cookies to help us improve your experience. You can accept or decline below.