Back to Homepage

Crowdsec

docs/widgets/services/crowdsec.md

1.12.3668 B
Original Source

Learn more about Crowdsec.

See the crowdsec docs for information about registering a machine, in most instances you can use the default credentials (/etc/crowdsec/local_api_credentials.yaml).

!!! note Without the limit24h option, the widget will fetch all alerts which is limited to 100 by the API to avoid performance issues.

Allowed fields: ["alerts", "bans"].

yaml
widget:
  type: crowdsec
  url: http://crowdsechostorip:port
  username: localhost # machine_id in crowdsec
  password: password
  limit24h: true # optional, limits alerts to last 24h. Default: false