A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
15 lines
567 B
Bash
15 lines
567 B
Bash
#!/bin/bash
|
|
|
|
appCrowdSecConsoleEnroll() {
|
|
local args="$1"
|
|
local token="$(authToolArg "$args" token)"
|
|
if [[ -z "$token" ]]; then
|
|
isNotice "No enrollment token provided — pass token=<value> via the Tools modal."
|
|
isNotice "Get a token at https://app.crowdsec.net (free account). Enrolling shares attacker IPs + scenario names with CrowdSec SAS."
|
|
return 1
|
|
fi
|
|
sudo cscli console enroll "$token"
|
|
checkSuccess "Enrolled with CrowdSec Console — community blocklists will start syncing"
|
|
sudo systemctl reload crowdsec
|
|
}
|