{{- if .Data -}}
Active Alerts
As Of: {{.Data.AsOf}}
Alerts: {{len .Data.Alerts}}
{{- range $i, $alert := .Data.Alerts}}

[{{$i}}] {{$alert.ID}}
{{- if $alert.Headline}}
Headline: {{$alert.Headline}}
{{- end}}
{{- if $alert.Severity}}
Severity: {{$alert.Severity}}
{{- end}}
{{- if $alert.Expires}}
Expires: {{$alert.Expires}}
{{- end}}
{{- end}}
{{- else -}}
No active alerts data available.
{{- end}}
