{{template "base" .}} {{define "content"}}
Bouncers
Enforcement agents that consume CrowdSec decisions
{{if .CLIAvailable}} {{end}}
{{if not .CLIAvailable}}
cscli unavailable Bouncer management requires the cscli binary. Mount it at the CSCLI_PATH configured in your environment.
{{end}} {{if .NewBouncer}}
Bouncer "{{.NewBouncer.Name}}" registered. Copy the API key below — it will not be shown again.
{{.NewBouncer.APIKey}} click to copy
{{end}}
Bouncers ({{len .Bouncers}})
{{if .Bouncers}}
{{if $.CLIAvailable}}{{end}} {{range .Bouncers}} {{if $.CLIAvailable}} {{end}} {{end}}
Name IP Address Last Pull Version Type StatusAction
{{.Name}} {{.IPAddress}} {{truncate .LastPull 16}} {{.Version}} {{.Type}} {{if .Revoked}} revoked {{else}} valid {{end}}
{{else}}
No bouncers registered
Add a bouncer to enforce CrowdSec decisions
{{end}}
{{if .CLIAvailable}} {{end}} {{end}} {{define "scripts"}} {{end}}