{{template "base" .}} {{define "content"}}
Machines
CrowdSec agent registrations
{{if not .CLIAvailable}}
cscli unavailable Machine management requires the cscli binary. Mount it at the CSCLI_PATH configured in your environment.
{{end}}
Machines ({{len .Machines}})
{{if .Machines}}
{{if $.CLIAvailable}}{{end}} {{range .Machines}} {{if $.CLIAvailable}} {{end}} {{end}}
Machine ID IP Last Heartbeat Version Auth StatusActions
{{truncate .MachineID 32}} {{.IPAddress}} {{truncate .LastHeartbeat 16}} {{.Version}} {{.AuthType}} {{if .IsValidated}} validated {{else}} pending {{end}} {{if not .IsValidated}}
{{end}}
{{else}}
No machines registered
Register an agent: cscli machines add <name> -a
{{end}}
{{end}}