CrowdSec

The adapter processes exported CrowdSec decisions in the customer environment.

Preview

Access

The adapter runs in the customer environment and sends selected JSON events to the organization-scoped portal webhook.

Request

A synthetic single event uses fields validated by the handler.

POST/api/integrations/webhook/00000000-0000-4000-8000-000000000001
Synthetic curl example · synthetic values
curl -i -X POST 'https://portal.rfi-irfos.com/api/integrations/webhook/00000000-0000-4000-8000-000000000001' \
  -H 'Authorization: Bearer $SYNTHETIC_WEBHOOK_TOKEN' \
  -H 'Content-Type: application/json' \
  --data '{"id":"synthetic-event-001","type":"security.alert","title":"Synthetic alert","severity":"medium"}'

Response

The portal webhook returns acceptance and duplicate status. An event is stored as a technical observation.

202 application/json
{"data":{"accepted":true,"duplicate":false}}

Error codes

400 for an invalid payload, 401 for an invalid secret, 413 for an oversized body, 415 for an unsupported media type, 429 for the minute limit, and 503 for a storage failure.

Evidence

Code evidenceRoute details
connectors/crowdsec/rfi_crowdsec.pySource
scripts/crowdsec-connector-smoke.pySource
python3 scripts/crowdsec-connector-smoke.pyTest · Passed locally

This branch contains source evidence and the listed local test results. Live also requires evidence of production operation; until then the status remains Preview.

Local index↑ ↓ · Enter · Esc