Find a command/
中文
☰

← Back to overviewAll commands

03 / FIELD NOTES

List CrowdSec bans

Read-only CrowdSec decisions and metrics without inserting a ban.

Read-onlycrowdseccscli

Why this way

Verification before mutation. After harden, prove the stack is awake with read-only cscli before you add collections or bans by hand.

When to use

CrowdSec is running and you want the current decisions, not a new ban.

Prerequisites

  • crowdsec installed
  • cscli on PATH

Steps

List current decisions

Read-only
cscli decisions list

Expect: A table of decisions, or an empty list.

Show CrowdSec metrics

Read-only
cscli metrics

Expect: Parser and bucket metrics print to the terminal.

What it changes

Read-only. It prints decisions and metrics. It does not insert a ban.