{{template "base" .}} {{define "content"}}
Allowlist
IPs and ranges exempt from CrowdSec decisions
{{if .FetchErr}}
Allowlist unavailable
{{.FetchErr}}
{{else}}
Add Entry
{{if .Lists}} {{range .Lists}}
{{.Name}} {{if .Description}}{{.Description}}{{end}}
{{if .Items}} {{$listName := .Name}} {{range .Items}} {{end}}
Value Comment Expiry Action
{{.Value}} {{.Comment}} {{if .Expiry}}{{.Expiry}}{{else}}permanent{{end}}
{{else}}
No entries in {{.Name}}
{{end}}
{{end}} {{else}}
No allowlists found
Create an allowlist with cscli allowlists create, then add entries above
{{end}} {{end}}
{{end}} {{define "scripts"}}{{end}}