Answer: For ungoverned tools, Kiro first checks whether any rule in the policy names the capability (directly or through all, builtin, or filesystem); if none does, the client default is kept, otherwise default deny turns on. It then keeps rules whose when matches the user (plus rules with no when), where an allow permits what it covers, an ask requires developer approval, uncovered uses are denied, and a matching deny wins over an allow or ask. Status: Confirmed Entry: tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions Revision: 3 Digest: sha256:0a0544cf906065ad (changes whenever the content changes) Timeline: Created: 2026-11-14T13:24:12Z Last changed: 2026-11-20T13:25:48Z (deny precedence: — → A matching deny wins over an allow or ask .) Last verified: 2026-11-20T13:25:48Z Next check: 2026-11-21T13:25:48Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of combination order | Check whether any rule in the policy names the capability, directly or through all , builtin , or filesystem . | [1] | 2026-11-20 default deny trigger | Otherwise, turn on default deny. | [1] | 2026-11-20 when matching | Keep the rules whose when matches the user, along with rules that have no when . | [1] | 2026-11-20 allow behavior | An allow permits what it covers. | [1] | 2026-11-20 ask behavior | An ask requires the developer's approval. | [1] | 2026-11-20 uncovered uses | Uses that no allow or ask covers are denied. | [1] | 2026-11-20 deny precedence | A matching deny wins over an allow or ask . | [1] | 2026-11-20 rule order | Rule order has no effect. | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "KGL reference - Enterprise Management - Enterprise - Docs - Kiro". https://kiro.dev/docs/enterprise/enterprise-management/kgl/ Role: primary. Accessed: 2026-11-20T13:25:48Z Quote: "Check whether any rule in the policy names the capability, directly or through all , builtin , or filesystem ." (Supports: combination order) Quote: "Otherwise, turn on default deny." (Supports: default deny trigger) Quote: "Keep the rules whose when matches the user, along with rules that have no when ." (Supports: when matching) Quote: "An allow permits what it covers." (Supports: allow behavior) Quote: "An ask requires the developer's approval." (Supports: ask behavior) Quote: "Uses that no allow or ask covers are denied." (Supports: uncovered uses) Quote: "A matching deny wins over an allow or ask ." (Supports: deny precedence) Quote: "Rule order has no effect." (Supports: rule order) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 73730c90b40ff4d031ecc19d51c751d6bd8225fa73676d7bea7572c7f45c0d02 (captured 2026-11-20T13:25:47Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:25:48Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:25:48Z Last attempt: 2026-11-20T13:25:48Z Notes and limitations: Extracted automatically from a single official source (section "How rules combine"). Related: https://latestn.com/tool/kiro/admin-and-enterprise/kgl-settings What settings can I configure in a Kiro KGL file? https://latestn.com/tool/kiro/admin-and-enterprise/kiro-created-applications What applications does Kiro create in IAM Identity Center when I connect it? https://latestn.com/tool/kiro/admin-and-enterprise/kiro-profile-definition What is a Kiro profile in Kiro enterprise? https://latestn.com/tool/kiro/admin-and-enterprise/kgl-enable-logging-reports How do I enable logging and reports in a Kiro enterprise KGL policy? https://latestn.com/tool/kiro/admin-and-enterprise/kgl-grammar-and-file-layout What is the grammar and file layout for a Kiro Governance Language (KGL) policy file? https://latestn.com/tool/kiro/admin-and-enterprise/kgl-lock-model-lineup How do I write a Kiro KGL policy that locks the model lineup for enterprise users? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:25:48Z | changed | deny precedence: — → A matching deny wins over an allow or ask . | [1] 2026-11-20T13:25:48Z | changed | uncovered uses: — → Uses that no allow or ask covers are denied. | [1] 2026-11-20T13:25:48Z | changed | ask behavior: — → An ask requires the developer's approval. | [1] 2026-11-20T13:25:48Z | changed | allow behavior: — → An allow permits what it covers. | [1] 2026-11-20T13:25:48Z | changed | ungoverned tools: fs_read , fs_write , shell , web_search , web_fetch , or mcp → — | [1] 2026-11-20T13:25:48Z | changed | when condition scope: A when condition limits the rule's effect, not the switch to default deny. → — | [1] 2026-11-20T13:25:48Z | changed | allow/ask/deny behavior: An allow permits what it covers. An ask requires the developer's approval. Uses that no allow or ask covers are denied. A matching deny wins over an allow or ask . → — | [1] 2026-11-18T13:21:20Z | changed | ungoverned tools: — → fs_read , fs_write , shell , web_search , web_fetch , or mcp | [1] 2026-11-18T13:21:20Z | changed | when condition scope: — → A when condition limits the rule's effect, not the switch to default deny. | [1] 2026-11-18T13:21:20Z | changed | rule order: — → Rule order has no effect. | [1] 2026-11-18T13:21:20Z | changed | allow/ask/deny behavior: — → An allow permits what it covers. An ask requires the developer's approval. Uses that no allow or ask covers are denied. A matching deny wins over an allow or ask . | [1] 2026-11-18T13:21:20Z | changed | when matching: — → Keep the rules whose when matches the user, along with rules that have no when . | [1] 2026-11-18T13:21:20Z | changed | default deny trigger: — → Otherwise, turn on default deny. | [1] 2026-11-18T13:21:20Z | changed | combination order: — → Check whether any rule in the policy names the capability, directly or through all , builtin , or filesystem . | [1] 2026-11-18T13:21:20Z | changed | other Kiro Crew defaults: browser_use , tailnet_origin , theme_install : on until a rule denies them → — | [1] 2026-11-18T13:21:20Z | changed | permission_mode default: yolo is off; normal , trust , and trust_reads stay available unless a rule denies them → — | [1] 2026-11-18T13:21:20Z | changed | Kiro Crew default: cron : scheduled jobs run until a rule denies them → — | [1] 2026-11-18T13:21:20Z | changed | ungoverned capabilities: fs_read , fs_write , shell , web_search , web_fetch , mcp → — | [1] 2026-11-18T13:21:20Z | changed | denied capabilities: model_use , apikey_create , and the Kiro Crew capabilities messaging_channel , messaging , network_egress → — | [1] 2026-11-18T13:21:20Z | changed | ungoverned rule effect: Any rule on an ungoverned capability, a deny included, brings back the default deny for everything the rule does not cover → — | [1] 2026-11-18T13:21:20Z | changed | deny precedence: A deny always wins → — | [1] 2026-11-18T13:21:20Z | changed | default behavior: A capability with no rule is denied → — | [1] 2026-11-14T13:24:12Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions POST: https://latestn.com/dispute/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do Kiro KGL rules combine, and what capabilities, patterns, and conditions can I use? Revision 3, last verified 2026-11-20T13:25:48Z. https://latestn.com/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions (accessed 2026-11-21T10:07:47Z). @misc{LatestN_tool_kiro_admin_and_enterprise_kgl_rules_capabilities_conditions_r3, title = {How do Kiro KGL rules combine, and what capabilities, patterns, and conditions can I use?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions}}, note = {Revision 3; digest sha256:0a0544cf906065ad; last verified 2026-11-20T13:25:48Z; accessed 2026-11-21T10:07:47Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/admin-and-enterprise/kgl-rules-capabilities-conditions