⚠️ Experimental — Lists Guild chat channel auto-enroll rules for the organization.
# When to use: List auto-enroll rules (optionally filter by slack/teams).
data "sg_chat_channel_rules" "slack" {
chat_provider = "slack"
}
output "rule_ids" {
value = [for r in data.sg_chat_channel_rules.slack.rules : r.id]
}
chat_provider (String) Filter by chat provider (slack or teams).rules (Attributes List) Chat channel auto-enroll rules matching the query. (see below for nested schema)rulesRead-Only:
attach_channel_context (Boolean) Whether platform channel metadata is attached to agent context (Slack topic description and pinned messages when available); false by default.chat_provider (String) Chat provider (slack or teams).created_at (String) Creation timestamp (RFC 3339).enabled (Boolean) Whether the rule is active.id (String) Server-assigned chat channel rule UUID.patterns (List of String) Channel-name glob patterns.tags (List of String) Operator tags applied on enroll.thread_follow (String) Thread-follow mode (off or while_waiting).updated_at (String) Last modification timestamp (RFC 3339).