{{define "admin_guard"}} Guardrails · llmgw

Guardrails

What the policies did, where, and by which rule — names and counts, never what was written.

{{template "nav" .Nav}}
{{if .Error}}{{end}}

Policies

{{if .Policies}}

Defined in server.yaml: {{range $i, $p := .Policies}}{{if $i}}, {{end}}{{$p}}{{end}}. Applied to every request: {{if .Default}}{{range $i, $p := .Default}}{{if $i}}, {{end}}{{$p}}{{end}}{{else}}none{{end}}.

{{if .Attachments}} {{range .Attachments}}{{end}}
ScopeWhoPolicy
{{.Scope}}{{.Who}}{{.Policy}}
{{else}}

Attached nowhere else. llmgw ctl guard attach project:ORG/TEAM/PROJECT POLICY attaches one.

{{end}} {{else}}

No policies: add a guard: section to server.yaml (docs/guardrails.md).

{{end}}

What they did

Over the last {{range .Windows}}{{if eq . $.Window}}{{.}}{{else}}{{.}}{{end}} {{end}}

{{if .Counts}} {{range .Counts}}{{end}}
WhereActionPolicyCategoryRequests
{{.Where}}{{.Action}}{{.Policy}}{{.Category}}{{.Count}}
{{else}}

Nothing flagged, redacted or blocked.

{{end}} {{if .Events}}

Recent

{{range .Events}}{{end}}
When (UTC)RequestWhereModelActionPolicyCategoryStatusms
{{.At}}{{.RequestID}}{{.Where}}{{.Model}} {{.Action}}{{.Policy}}{{.Category}}{{.Status}}{{.Ms}}

llmgw ctl request ID says what else a request went through.

{{end}}
{{end}}