- Agents are CrowdSec engines running inside your k8s clusters. They analyze - logs, detect threats, and report to this LAPI. Each provisioned Wild Cloud instance registers - one agent here. + Agents are CrowdSec engines that analyze logs, detect threats, and report + to this LAPI. Each machine or cluster running CrowdSec registers an agent here.
{status.machines.length === 0 ? (No agents registered. Provision an instance below.
@@ -679,6 +677,42 @@ export function CrowdSecComponent() {+ To connect a new CrowdSec agent to this LAPI, register a machine and bouncer via the API, + then configure the remote agent to use these credentials. +
+1. Register a machine (agent)
+
+{`curl -X POST /api/v1/crowdsec/machines \\
+ -H "Content-Type: application/json" \\
+ -d '{"name": "my-agent", "password": "a-strong-password"}'`}
+
+ 2. Register a bouncer
+
+{`curl -X POST /api/v1/crowdsec/bouncers \\
+ -H "Content-Type: application/json" \\
+ -d '{"name": "my-bouncer", "apiKey": "a-bouncer-api-key"}'`}
+
+
+ Then configure the remote CrowdSec agent with the LAPI URL (http://{')
+ and the credentials above. The agent will appear in the Registered Agents list once it connects.
+