@@ -4,8 +4,15 @@ import { fetchPolicies } from "../lib/api";
44import { Button } from "../components/ui/Button" ;
55import { Card , CardBody , CardHeader , CardTitle } from "../components/ui/Card" ;
66
7- const POLICY_SECTIONS = [ "agent_registry" , "command_allowlist" , "forbidden_actions" , "tool_registry" ] as const ;
7+ const POLICY_SECTIONS = [
8+ "control_plane_runtime_policy" ,
9+ "agent_registry" ,
10+ "command_allowlist" ,
11+ "forbidden_actions" ,
12+ "tool_registry" ,
13+ ] as const ;
814const SECTION_LABELS : Record < string , string > = {
15+ control_plane_runtime_policy : "Control-plane runtime policy" ,
916 agent_registry : "Agent registry" ,
1017 command_allowlist : "Command allowlist" ,
1118 forbidden_actions : "Forbidden actions" ,
@@ -24,7 +31,7 @@ export function PoliciesPage() {
2431
2532 return (
2633 < div className = "content" >
27- < div className = "section-header" > < div > < h1 className = "page-title" > Policies</ h1 > < p className = "page-subtitle" > Security policy settings: agent registry, command allowlist, tool permissions, and forbidden actions</ p > </ div > < Button onClick = { load } disabled = { loading } > { loading ? "Refreshing..." : "Refresh" } </ Button > </ div >
34+ < div className = "section-header" > < div > < h1 className = "page-title" > Policies</ h1 > < p className = "page-subtitle" > Audit control-plane runtime rules, agent registry, command allowlist, tool permissions, and forbidden actions from one policy desk. </ p > </ div > < Button onClick = { load } disabled = { loading } > { loading ? "Refreshing..." : "Refresh" } </ Button > </ div >
2835 { error && < div className = "alert alert-danger" role = "alert" aria-live = "assertive" > { error } </ div > }
2936 { loading ? < div className = "skeleton-stack-lg" > < div className = "skeleton skeleton-row" /> < div className = "skeleton skeleton-row" /> </ div > : (
3037 < div className = "grid-2" >
0 commit comments