Answer: You set up a KGL policy with rules that set web_search and web_fetch to effect: ask, plus a deny rule on web_fetch with match listing both "*.pastebin.com" and "pastebin.com". The deny removes part of what the ask opens, so keep the ask rules. Status: Confirmed Entry: tool/kiro/permissions-and-security/kgl-web-access-domain-block Revision: 2 Digest: sha256:b447ee815fd86a36 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:40:25Z Last changed: 2026-11-18T13:21:17Z (enforcement location: — → by the Kiro service, on every surface) Last verified: 2026-11-20T13:25:46Z Next check: 2026-11-21T13:25:46Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of web_search rule | web_search | [1] | 2026-11-20 web_fetch ask rule | web_fetch | [1] | 2026-11-20 deny effect | deny | [1] | 2026-11-20 blocked domains match | [ "*.pastebin.com" , "pastebin.com" ] | [1] | 2026-11-20 enforcement location | by the Kiro service, on every surface | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "KGL examples - Enterprise Management - Enterprise - Docs - Kiro". https://kiro.dev/docs/enterprise/enterprise-management/kgl-examples/ Role: primary. Accessed: 2026-11-20T13:25:46Z Quote: "capability : web_search effect : ask" (Supports: web_search rule) Quote: "capability : web_fetch effect : ask" (Supports: web_fetch ask rule) Quote: "capability : web_fetch effect : deny" (Supports: deny effect) Quote: "match : [ "*.pastebin.com" , "pastebin.com" ]" (Supports: blocked domains match) Quote: "Where it is enforced: by the Kiro service, on every surface." (Supports: enforcement location) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 2e9c7aa1b483c59f4c21d96f19fd084e0b1ca48d0ac56a8982e14bc4013fd42f (captured 2026-11-20T13:25:46Z) 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:46Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:25:46Z Last attempt: 2026-11-20T13:25:46Z Notes and limitations: Extracted automatically from a single official source (section "5. Ask before the web, block one domain"). Related: https://latestn.com/tool/kiro/permissions-and-security/limit-hook-scope How do I limit the scope of Kiro hooks? https://latestn.com/tool/kiro/permissions-and-security/mcp-environment-variables How do I use environment variables for MCP server configuration in Kiro? https://latestn.com/tool/kiro/permissions-and-security/mcp-tool-approval How does the MCP tool approval process work in Kiro and when should I use auto-approval? https://latestn.com/tool/kiro/permissions-and-security/headless-token-remote-access How do I run Kiro Crew headlessly with token-authenticated remote access? https://latestn.com/tool/kiro/permissions-and-security/iam-permissions-external-idp What IAM permissions does Kiro need for external identity provider integration? https://latestn.com/tool/kiro/permissions-and-security/iam-permissions-opentelemetry-export What IAM permissions does Kiro require for OpenTelemetry export? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:21:17Z | changed | enforcement location: — → by the Kiro service, on every surface | [1] 2026-11-18T13:21:17Z | changed | blocked domains match: — → [ "*.pastebin.com" , "pastebin.com" ] | [1] 2026-11-18T13:21:17Z | changed | enforcement surface: by the Kiro service, on every surface → — | [1] 2026-11-18T13:21:17Z | changed | deny match domains: *.pastebin.com → — | [1] 2026-11-13T03:40:25Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/permissions-and-security/kgl-web-access-domain-block/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/permissions-and-security/kgl-web-access-domain-block POST: https://latestn.com/dispute/tool/kiro/permissions-and-security/kgl-web-access-domain-block with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/permissions-and-security/kgl-web-access-domain-block?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set up a Kiro KGL policy that asks before web access and blocks a specific domain? Revision 2, last verified 2026-11-20T13:25:46Z. https://latestn.com/tool/kiro/permissions-and-security/kgl-web-access-domain-block (accessed 2026-11-21T10:04:23Z). @misc{LatestN_tool_kiro_permissions_and_security_kgl_web_access_domain_block_r2, title = {How do I set up a Kiro KGL policy that asks before web access and blocks a specific domain?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/permissions-and-security/kgl-web-access-domain-block}}, note = {Revision 2; digest sha256:b447ee815fd86a36; last verified 2026-11-20T13:25:46Z; accessed 2026-11-21T10:04:23Z} } 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/permissions-and-security/kgl-web-access-domain-block