⚠️ Experimental — Lists Guild policies (sg_policy). Rego source is omitted from list results.
# When to use: List governance policies (IDs/names) when attaching policies from
# another stack or verifying a policy pack is present. Rego source is omitted.
data "sg_policies" "tool_call" {
type = "tool_call"
}
output "policy_ids" {
value = { for p in data.sg_policies.tool_call.policies : p.name => p.id }
}
tag (String) Filter policies that include this tag.type (String) Filter by policy type.policies (Attributes List) Policies matching the query. (see below for nested schema)policiesRead-Only:
description (String) Human-readable description.id (String) Policy UUID.name (String) Policy name.tags (List of String) Policy tags.type (String) Policy type (e.g. tool_call).version (Number) Policy version.