canasta crowdsec console-enroll

From Canasta Wiki

canasta > crowdsec > console-enroll

canasta crowdsec console-enroll

Connect CrowdSec to the Console for the full community blocklist

Synopsis

Enroll this instance's CrowdSec engine in the CrowdSec Console (https://app.crowdsec.net) to unlock the full community blocklist plus any console-managed third-party blocklists.

This is optional. Without it, the engine still pulls the smaller "Lite" community blocklist automatically via the Central API — so CrowdSec already blocks crowd-sourced IPs out of the box; console enrollment just upgrades that to the full list.

Get an enrollment key from the Console (Security Engines → Enroll), run this command, then return to the Console to accept the pending engine and subscribe it to the blocklists you want. Distinct from canasta crowdsec bouncer-enroll, which registers the local Caddy bouncer with the engine.

canasta crowdsec console-enroll [flags]

Examples

canasta crowdsec console-enroll cssde-xxxxxxxxxxxx
canasta crowdsec console-enroll cssde-xxxxxxxxxxxx --name prod1
canasta crowdsec console-enroll cssde-xxxxxxxxxxxx -i mysite

Flags

Flag Shorthand Description Default Required Orchestrator
--id -i Canasta instance ID * Both
--key Console enrollment key from app.crowdsec.net Both
--name Instance name to show in the Console Both

* Defaults to the Canasta instance matching the current directory, if any.

Global Flags

Flag Shorthand Description Default Required Orchestrator
--help -h Show help message and exit Both
--verbose -v Enable verbose output Both