[
  {
    "id": "GCP-BP-0001",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t1\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_1\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0001\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0001</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0002",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t1\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_1\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0002\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0002</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0003",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t1\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_1\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0003\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0003</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0004",
    "title": "Restrict Service Account User Role Grants to Approved Workloads",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t1\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_1\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0004\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0004</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0005",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t1\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_1\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0005\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0005</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0006",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t1\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_1\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0006\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0006</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0007",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-2 • Profile G)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t2\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-2 • Profile G)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_2\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0007\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0007</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0008",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-2 • Profile H)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Operational Excellence",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t2\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-2 • Profile H)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_2\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0008\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0008</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0009",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-2 • Profile I)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t2\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-2 • Profile I)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_2\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0009\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0009</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0010",
    "title": "Restrict Service Account User Role Grants to Approved Workloads (Tier-2 • Profile J)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t2\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads (Tier-2 • Profile J)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_2\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0010\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0010</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0011",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-2 • Profile K)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t2\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-2 • Profile K)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_2\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0011\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0011</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0012",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-2 • Profile L)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t2\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-2 • Profile L)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_2\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0012\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0012</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0013",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-3 • Profile M)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t3\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-3 • Profile M)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_3\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0013\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0013</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0014",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-3 • Profile N)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t3\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-3 • Profile N)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_3\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0014\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0014</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0015",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-3 • Profile O)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t3\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-3 • Profile O)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_3\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0015\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0015</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0016",
    "title": "Restrict Service Account User Role Grants to Approved Workloads (Tier-3 • Profile P)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t3\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads (Tier-3 • Profile P)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_3\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0016\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0016</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0017",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-3 • Profile Q)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t3\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-3 • Profile Q)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_3\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0017\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0017</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0018",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-3 • Profile R)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t3\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-3 • Profile R)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_3\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0018\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0018</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0019",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-4 • Profile S)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t4\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-4 • Profile S)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_4\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0019\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0019</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0020",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-4 • Profile T)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Performance Efficiency",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t4\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-4 • Profile T)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_4\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0020\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0020</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0021",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-4 • Profile U)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t4\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-4 • Profile U)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_4\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0021\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0021</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0022",
    "title": "Restrict Service Account User Role Grants to Approved Workloads (Tier-4 • Profile V)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t4\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads (Tier-4 • Profile V)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_4\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0022\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0022</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0023",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-4 • Profile W)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t4\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-4 • Profile W)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_4\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0023\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0023</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0024",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-4 • Profile X)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Cost Optimization",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t4\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-4 • Profile X)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_4\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0024\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0024</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0025",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-5 • Profile Y)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t5\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-5 • Profile Y)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_5\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0025\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0025</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0026",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-5 • Profile Z)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t5\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-5 • Profile Z)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_5\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0026\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0026</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0027",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-5 • Profile A)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t5\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-5 • Profile A)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_5\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0027\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0027</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0028",
    "title": "Restrict Service Account User Role Grants to Approved Workloads (Tier-5 • Profile B)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t5\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads (Tier-5 • Profile B)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_5\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0028\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0028</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0029",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-5 • Profile C)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t5\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-5 • Profile C)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_5\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0029\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0029</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0030",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-5 • Profile D)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t5\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-5 • Profile D)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_5\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0030\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0030</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0031",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-6 • Profile E)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t6\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-6 • Profile E)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_6\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0031\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0031</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0032",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-6 • Profile F)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t6\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-6 • Profile F)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_6\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0032\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0032</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0033",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-6 • Profile G)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t6\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-6 • Profile G)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_6\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0033\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0033</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0034",
    "title": "Restrict Service Account User Role Grants to Approved Workloads (Tier-6 • Profile H)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t6\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads (Tier-6 • Profile H)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_6\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0034\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0034</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0035",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-6 • Profile I)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t6\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-6 • Profile I)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_6\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0035\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0035</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0036",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-6 • Profile J)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t6\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-6 • Profile J)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_6\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0036\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0036</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0037",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-7 • Profile K)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t7\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-7 • Profile K)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_7\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0037\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0037</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0038",
    "title": "Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-7 • Profile L)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.84,248L289.84,322.5C289.84,330.19 243.3,330.19 243.3,337.88L243.3,343\"/><path class=\"pele-marker\" d=\"M243.3,350L239.94,342L246.66,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.58,262L113.58,322.5C113.58,330.19 160.12,330.19 160.12,337.88L160.12,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M160.12,350L156.76,342L163.48,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.71,416L201.71,497\"/><path class=\"pele-marker\" d=\"M201.71,504L198.35,496L205.07,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.71,570L201.71,636\"/><path class=\"pele-marker\" d=\"M201.71,643L198.35,635L205.07,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.58,95L113.58,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.58,168L110.22,160L116.94,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.46\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.84\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.84\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"44.23\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.58\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.58\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.95\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.71\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.71\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.62\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.71\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.44\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.58\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.84,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.58,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.71,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.71,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.71,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.58,51.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_enforce_mfa_t7\n\ndefault allow = false\n\n# Rule: Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity (Tier-7 • Profile L)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_iam_hardened_7\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Multi-Factor Authentication (MFA) via Google Cloud Identity\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0038\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.58\" y=\"-43.5\" width=\"211.17\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Multi-Factor</tspan><tspan x=\"0\" y=\"5.6\">Authentication (MFA) via</tspan><tspan x=\"0\" y=\"26.6\">Google Cloud Identity</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0038</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0039",
    "title": "Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-7 • Profile M)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor).",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 405 717\" width=\"405\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M301.4,248L301.4,322.5C301.4,330.19 254.86,330.19 254.86,337.88L254.86,343\"/><path class=\"pele-marker\" d=\"M254.86,350L251.5,342L258.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M125.14,262L125.14,322.5C125.14,330.19 171.68,330.19 171.68,337.88L171.68,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M171.68,350L168.32,342L175.04,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M213.27,416L213.27,497\"/><path class=\"pele-marker\" d=\"M213.27,504L209.91,496L216.63,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M213.27,570L213.27,636\"/><path class=\"pele-marker\" d=\"M213.27,643L209.91,635L216.63,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M125.14,95L125.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M125.14,168L121.78,160L128.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"218.02\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"301.4\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"301.4\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"55.79\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"125.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"115.51\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"213.27\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"213.27\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"134.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"213.27\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"34\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(301.4,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(125.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(213.27,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(213.27,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(213.27,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(125.14,51.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_primitive_roles_t7\n\ndefault allow = false\n\n# Rule: Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor) (Tier-7 • Profile M)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_binding\" \"gcp_iam_hardened_7\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Least-Privilege IAM Roles and Avoid Primitive Roles (Owner/Editor)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0039\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-117.14\" y=\"-43.5\" width=\"234.29\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Least-Privilege IAM</tspan><tspan x=\"0\" y=\"5.6\">Roles and Avoid Primitive</tspan><tspan x=\"0\" y=\"26.6\">Roles (Owner/Editor)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0039</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0040",
    "title": "Restrict Service Account User Role Grants to Approved Workloads (Tier-7 • Profile N)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Restrict Service Account User Role Grants to Approved Workloads.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 393 717\" width=\"393\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M289.39,248L289.39,322.5C289.39,330.19 242.86,330.19 242.86,337.88L242.86,343\"/><path class=\"pele-marker\" d=\"M242.86,350L239.5,342L246.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M113.14,262L113.14,322.5C113.14,330.19 159.67,330.19 159.67,337.88L159.67,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M159.67,350L156.31,342L163.03,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M201.26,416L201.26,497\"/><path class=\"pele-marker\" d=\"M201.26,504L197.9,496L204.62,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M201.26,570L201.26,636\"/><path class=\"pele-marker\" d=\"M201.26,643L197.9,635L204.62,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.14,95L113.14,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.14,168L109.78,160L116.5,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"206.01\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"289.39\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"289.39\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"43.78\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.14\" y=\"298.4\">Trust and permission</tspan><tspan x=\"113.14\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"103.5\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"201.26\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"201.26\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"122.18\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"201.26\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"21.99\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.14\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(289.39,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.14,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(201.26,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(201.26,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(201.26,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.14,51.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_restrict_sa_user_t7\n\ndefault allow = false\n\n# Rule: Restrict Service Account User Role Grants to Approved Workloads (Tier-7 • Profile N)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_iam_binding\" \"gcp_iam_hardened_7\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Restrict Service Account User Role Grants to Approved Workloads\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0040\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-105.14\" y=\"-43.5\" width=\"210.27\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Service Account</tspan><tspan x=\"0\" y=\"5.6\">User Role Grants to</tspan><tspan x=\"0\" y=\"26.6\">Approved Workloads</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0040</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0041",
    "title": "Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-7 • Profile O)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 403 717\" width=\"403\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M299.18,248L299.18,322.5C299.18,330.19 252.64,330.19 252.64,337.88L252.64,343\"/><path class=\"pele-marker\" d=\"M252.64,350L249.28,342L256,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M122.92,262L122.92,322.5C122.92,330.19 169.46,330.19 169.46,337.88L169.46,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M169.46,350L166.1,342L172.82,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M211.05,416L211.05,497\"/><path class=\"pele-marker\" d=\"M211.05,504L207.69,496L214.41,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M211.05,570L211.05,636\"/><path class=\"pele-marker\" d=\"M211.05,643L207.69,635L214.41,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M122.92,95L122.92,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M122.92,168L119.56,160L126.28,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"215.8\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"299.18\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"299.18\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"53.57\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"122.92\" y=\"298.4\">Trust and permission</tspan><tspan x=\"122.92\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"113.28\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"211.05\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"211.05\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"131.96\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"211.05\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"31.78\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"122.92\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(299.18,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(122.92,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(211.05,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(211.05,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(211.05,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(122.92,51.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_privileged_access_manager_t7\n\ndefault allow = false\n\n# Rule: Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager (Tier-7 • Profile O)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_privileged_access_manager_entitlement\"\n  not r.change.after.max_request_duration\n  msg := sprintf(\"Resource %v must configure max_request_duration for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_privileged_access_manager_entitlement\" \"gcp_iam_hardened_7\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Implement Just-In-Time (JIT) Privileged Access via Privileged Access Manager\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0041\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-114.92\" y=\"-43.5\" width=\"229.84\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Implement Just-In-Time</tspan><tspan x=\"0\" y=\"5.6\">(JIT) Privileged Access via</tspan><tspan x=\"0\" y=\"26.6\">Privileged Access Manager</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0041</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0042",
    "title": "Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-7 • Profile P)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Audit and Remediate Unused IAM Permissions with IAM Recommender.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 395 717\" width=\"395\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M292.06,248L292.06,322.5C292.06,330.19 245.52,330.19 245.52,337.88L245.52,343\"/><path class=\"pele-marker\" d=\"M245.52,350L242.16,342L248.88,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M115.8,262L115.8,322.5C115.8,330.19 162.34,330.19 162.34,337.88L162.34,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M162.34,350L158.98,342L165.7,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M203.93,416L203.93,497\"/><path class=\"pele-marker\" d=\"M203.93,504L200.57,496L207.29,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M203.93,570L203.93,636\"/><path class=\"pele-marker\" d=\"M203.93,643L200.57,635L207.29,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M115.8,95L115.8,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M115.8,168L112.44,160L119.16,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"208.68\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"292.06\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"292.06\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"46.45\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"115.8\" y=\"298.4\">Trust and permission</tspan><tspan x=\"115.8\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"106.16\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"203.93\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"203.93\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"124.84\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"203.93\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"24.66\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"115.8\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(292.06,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(115.8,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(203.93,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(203.93,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(203.93,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(115.8,51.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_recommender_remediation_t7\n\ndefault allow = false\n\n# Rule: Audit and Remediate Unused IAM Permissions with IAM Recommender (Tier-7 • Profile P)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_project_iam_policy\"\n  not r.change.after.policy_data\n  msg := sprintf(\"Resource %v must configure policy_data for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_project_iam_policy\" \"gcp_iam_hardened_7\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Audit and Remediate Unused IAM Permissions with IAM Recommender\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0042\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1812\" width=\"585\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1279.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.37,1217.16 219.37,1227.41L219.37,1345.41\"/><path class=\"pele-marker\" d=\"M219.37,1352.41L216.01,1344.41L222.73,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 470.15,1217.16 470.15,1227.41L470.15,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1339.91L466.79,1331.91L473.51,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1439.41L219.37,1492.91\"/><path class=\"pele-marker\" d=\"M219.37,1499.91L216.01,1491.91L222.73,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1617.16L175.8,1710.39\"/><path class=\"pele-marker\" d=\"M175.8,1717.39L172.44,1709.39L179.16,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1626.05C248.72,1645.47 444.09,1645.47 444.09,1664.89L444.09,1710.39\"/><path class=\"pele-marker\" d=\"M444.09,1717.39L440.73,1709.39L447.45,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1451.91L470.15,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1717.39L466.79,1709.39L473.51,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-107.8\" y=\"-43.5\" width=\"215.6\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Audit and Remediate</tspan><tspan x=\"0\" y=\"5.6\">Unused IAM Permissions</tspan><tspan x=\"0\" y=\"26.6\">with IAM Recommender</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0042</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1395.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0043",
    "title": "Enforce Workload Identity Federation and Disable Service Account Keys (Tier-8 • Profile Q)",
    "category": "gcp-iam",
    "category_name": "Cloud IAM & Workload Identity Federation",
    "service": "Cloud IAM",
    "icon_url": "/images/gcp-icons/gcp-iam.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Workload authentication and API authorization for Cloud IAM. Integration contract: Issuer, subject, audience, role scope and token lifetime. Control: Enforce Workload Identity Federation and Disable Service Account Keys.",
    "mermaid": "flowchart TB\n  app[\"Workload with trusted identity evidence\"]\n  resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n  issuer[\"Google STS and IAM Credentials APIs\"]\n  credential[\"Scoped token or short-lived session\"]\n  api[\"Target API and resource authorization\"]\n  control[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n  app -->|Authenticate or exchange trusted identity| issuer\n  resource -.->|Trust and permission configuration| issuer\n  issuer -->|Issue credential for configured audience| credential\n  credential -->|Authorized SDK request| api\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 397 717\" width=\"397\" height=\"717\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_app_issuer_0\"><path d=\"M293.85,248L293.85,322.5C293.85,330.19 247.31,330.19 247.31,337.88L247.31,343\"/><path class=\"pele-marker\" d=\"M247.31,350L243.95,342L250.67,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_issuer_0\"><path d=\"M117.59,262L117.59,322.5C117.59,330.19 164.13,330.19 164.13,337.88L164.13,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M164.13,350L160.77,342L167.49,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_issuer_credential_0\"><path d=\"M205.72,416L205.72,497\"/><path class=\"pele-marker\" d=\"M205.72,504L202.36,496L209.08,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_credential_api_0\"><path d=\"M205.72,570L205.72,636\"/><path class=\"pele-marker\" d=\"M205.72,643L202.36,635L209.08,635Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M117.59,95L117.59,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M117.59,168L114.23,160L120.95,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_app_issuer_0\"><rect x=\"210.47\" y=\"284.5\" width=\"166.76\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"293.85\" y=\"298.4\">Authenticate or exchange</tspan><tspan x=\"293.85\" y=\"316.4\">trusted identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_issuer_0\"><rect x=\"48.24\" y=\"284.5\" width=\"138.7\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"117.59\" y=\"298.4\">Trust and permission</tspan><tspan x=\"117.59\" y=\"316.4\">configuration</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_issuer_credential_0\"><rect x=\"107.96\" y=\"438.5\" width=\"195.53\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"205.72\" y=\"452.4\">Issue credential for configured</tspan><tspan x=\"205.72\" y=\"470.4\">audience</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_credential_api_0\"><rect x=\"126.63\" y=\"592.5\" width=\"158.18\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"205.72\" y=\"607.9\" text-anchor=\"middle\">Authorized SDK request</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"26.45\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"117.59\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"app\" transform=\"translate(293.85,215)\"><rect x=\"-94.91\" y=\"-33\" width=\"189.82\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Workload with trusted</tspan><tspan x=\"0\" y=\"16.1\">identity evidence</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(117.59,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"issuer\" transform=\"translate(205.72,383)\"><rect x=\"-93.59\" y=\"-33\" width=\"187.18\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Google STS and IAM</tspan><tspan x=\"0\" y=\"16.1\">Credentials APIs</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"credential\" transform=\"translate(205.72,537)\"><rect x=\"-115.38\" y=\"-33\" width=\"230.75\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Scoped token or short-lived</tspan><tspan x=\"0\" y=\"16.1\">session</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(205.72,676)\"><rect x=\"-105.15\" y=\"-33\" width=\"210.3\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Target API and resource</tspan><tspan x=\"0\" y=\"16.1\">authorization</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(117.59,51.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iam.gcp_iam_iam_no_user_managed_keys_t8\n\ndefault allow = false\n\n# Rule: Enforce Workload Identity Federation and Disable Service Account Keys (Tier-8 • Profile Q)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_service_account_key\"\n  not r.change.after.service_account_id\n  msg := sprintf(\"Resource %v must configure service_account_id for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_service_account_key\" \"gcp_iam_hardened_8\" {\n  # Enforce enterprise Cloud IAM architectural baseline (Tier-8)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Cloud IAM\"]\n      requirement[\"Enforce Workload Identity Federation and Disable Service Account Keys\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0043\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iam\", label: \"Cloud IAM\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Cloud IAM</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-109.59\" y=\"-43.5\" width=\"219.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Workload Identity</tspan><tspan x=\"0\" y=\"5.6\">Federation and Disable</tspan><tspan x=\"0\" y=\"26.6\">Service Account Keys</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0043</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Cloud IAM</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "identity",
      "name": "Workload authentication and API authorization",
      "contract": "Issuer, subject, audience, role scope and token lifetime",
      "dependencies": [
        "An explicitly trusted identity issuer or workload principal",
        "A target API and a minimal permission set"
      ],
      "steps": [
        "Register the workload identity and its trust conditions.",
        "Bind the smallest resource and action scope.",
        "Exchange identity evidence for short-lived credentials through the supported SDK."
      ],
      "tests": [
        "Call the permitted action with the intended principal.",
        "Reject an unexpected audience, expired credential and out-of-scope resource."
      ],
      "failures": [
        "Authentication failure: check issuer, audience, clock skew and trust conditions.",
        "Access denied: inspect effective permissions and applicable explicit denies."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0044",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t1\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_1\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0044\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0044</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0045",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t1\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_1\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0045\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0045</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0046",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t1\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_1\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0046\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0046</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0047",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t1\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_1\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0047\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0047</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0048",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t1\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_1\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0048\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0048</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0049",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t1\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_1\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0049\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0049</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0050",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-2 • Profile G)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t2\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-2 • Profile G)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_2\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0050\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0050</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0051",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-2 • Profile H)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Operational Excellence",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t2\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-2 • Profile H)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_2\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0051\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0051</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0052",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation (Tier-2 • Profile I)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t2\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation (Tier-2 • Profile I)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_2\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0052\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0052</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0053",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-2 • Profile J)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t2\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-2 • Profile J)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_2\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0053\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0053</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0054",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-2 • Profile K)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t2\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-2 • Profile K)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_2\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0054\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0054</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0055",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-2 • Profile L)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t2\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-2 • Profile L)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_2\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0055\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0055</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0056",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-3 • Profile M)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t3\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-3 • Profile M)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_3\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0056\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0056</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0057",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-3 • Profile N)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t3\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-3 • Profile N)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_3\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0057\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0057</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0058",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation (Tier-3 • Profile O)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t3\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation (Tier-3 • Profile O)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_3\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0058\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0058</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0059",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-3 • Profile P)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t3\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-3 • Profile P)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_3\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0059\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0059</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0060",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-3 • Profile Q)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t3\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-3 • Profile Q)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_3\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0060\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0060</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0061",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-3 • Profile R)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t3\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-3 • Profile R)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_3\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0061\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0061</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0062",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-4 • Profile S)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t4\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-4 • Profile S)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_4\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0062\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0062</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0063",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-4 • Profile T)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Performance Efficiency",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t4\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-4 • Profile T)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_4\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0063\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0063</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0064",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation (Tier-4 • Profile U)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t4\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation (Tier-4 • Profile U)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_4\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0064\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0064</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0065",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-4 • Profile V)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t4\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-4 • Profile V)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_4\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0065\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0065</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0066",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-4 • Profile W)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t4\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-4 • Profile W)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_4\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0066\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0066</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0067",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-4 • Profile X)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Cost Optimization",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t4\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-4 • Profile X)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_4\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0067\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0067</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0068",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-5 • Profile Y)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t5\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-5 • Profile Y)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_5\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0068\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0068</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0069",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-5 • Profile Z)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t5\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-5 • Profile Z)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_5\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0069\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0069</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0070",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation (Tier-5 • Profile A)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t5\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation (Tier-5 • Profile A)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_5\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0070\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0070</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0071",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-5 • Profile B)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t5\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-5 • Profile B)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_5\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0071\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0071</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0072",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-5 • Profile C)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t5\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-5 • Profile C)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_5\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0072\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0072</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0073",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-5 • Profile D)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t5\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-5 • Profile D)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_5\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0073\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0073</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0074",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-6 • Profile E)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t6\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-6 • Profile E)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_6\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0074\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0074</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0075",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-6 • Profile F)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t6\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-6 • Profile F)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_6\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0075\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0075</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0076",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation (Tier-6 • Profile G)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t6\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation (Tier-6 • Profile G)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_6\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0076\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0076</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0077",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-6 • Profile H)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t6\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-6 • Profile H)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_6\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0077\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0077</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0078",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-6 • Profile I)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t6\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-6 • Profile I)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_6\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0078\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0078</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0079",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-6 • Profile J)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t6\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-6 • Profile J)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_6\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0079\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0079</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0080",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-7 • Profile K)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t7\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-7 • Profile K)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_7\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0080\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0080</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0081",
    "title": "Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-7 • Profile L)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 430 599\" width=\"430\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M326.02,260L326.02,343.5C326.02,351.19 255.87,351.19 255.87,358.88L255.87,364\"/><path class=\"pele-marker\" d=\"M255.87,371L252.51,363L259.23,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M113.21,283L113.21,343.5C113.21,351.19 183.37,351.19 183.37,358.88L183.37,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M183.37,371L180.01,363L186.73,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M219.62,437L219.62,518\"/><path class=\"pele-marker\" d=\"M219.62,525L216.26,517L222.98,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M113.21,116L113.21,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M113.21,189L109.85,181L116.57,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"236.42\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"326.02\" y=\"319.4\">Authenticated management</tspan><tspan x=\"326.02\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"10\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"113.21\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"113.21\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"138.2\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"219.62\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"219.62\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"22.07\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"113.21\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(326.02,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(219.62,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(113.21,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(219.62,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(113.21,62)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_uniform_bucket_level_access_t7\n\ndefault allow = false\n\n# Rule: Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy (Tier-7 • Profile L)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_7\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Uniform Bucket-Level Access Across the Entire Organization Hierarchy\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0081\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-99.8\" y=\"-54\" width=\"199.6\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Uniform</tspan><tspan x=\"0\" y=\"-4.9\">Bucket-Level Access</tspan><tspan x=\"0\" y=\"16.1\">Across the Entire</tspan><tspan x=\"0\" y=\"37.1\">Organization Hierarchy</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0081</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0082",
    "title": "Disable Default Service Account Automatic Role Grants on Project Creation (Tier-7 • Profile M)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Disable Default Service Account Automatic Role Grants on Project Creation.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 438 578\" width=\"438\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.52,239L333.52,322.5C333.52,330.19 263.36,330.19 263.36,337.88L263.36,343\"/><path class=\"pele-marker\" d=\"M263.36,350L260,342L266.72,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.7,262L120.7,322.5C120.7,330.19 190.86,330.19 190.86,337.88L190.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.86,350L187.5,342L194.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M227.11,416L227.11,497\"/><path class=\"pele-marker\" d=\"M227.11,504L223.75,496L230.47,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.7,95L120.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.7,168L117.34,160L124.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.52\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.52\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.69\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"227.11\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"227.11\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.56\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.52,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(227.11,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(227.11,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.7,51.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_disable_default_sa_grants_t7\n\ndefault allow = false\n\n# Rule: Disable Default Service Account Automatic Role Grants on Project Creation (Tier-7 • Profile M)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_7\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Disable Default Service Account Automatic Role Grants on Project Creation\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0082\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.7\" y=\"-43.5\" width=\"225.41\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Disable Default Service</tspan><tspan x=\"0\" y=\"5.6\">Account Automatic Role</tspan><tspan x=\"0\" y=\"26.6\">Grants on Project Creation</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0082</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0083",
    "title": "Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-7 • Profile N)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 599\" width=\"437\" height=\"599\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M332.63,260L332.63,343.5C332.63,351.19 262.47,351.19 262.47,358.88L262.47,364\"/><path class=\"pele-marker\" d=\"M262.47,371L259.11,363L265.83,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M119.82,283L119.82,343.5C119.82,351.19 189.98,351.19 189.98,358.88L189.98,364\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M189.98,371L186.62,363L193.34,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.22,437L226.22,518\"/><path class=\"pele-marker\" d=\"M226.22,525L222.86,517L229.58,517Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M119.82,116L119.82,182\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M119.82,189L116.46,181L123.18,181Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.03\" y=\"305.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"332.63\" y=\"319.4\">Authenticated management</tspan><tspan x=\"332.63\" y=\"337.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"16.61\" y=\"305.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"119.82\" y=\"319.4\">Applicable inherited or assigned</tspan><tspan x=\"119.82\" y=\"337.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"144.8\" y=\"459.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.22\" y=\"473.4\">Only if identity and policy</tspan><tspan x=\"226.22\" y=\"491.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"28.67\" y=\"138.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"119.82\" y=\"153.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(332.63,236)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.22,404)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(119.82,236)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.22,558)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(119.82,62)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_resource_locations_t7\n\ndefault allow = false\n\n# Rule: Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions (Tier-7 • Profile N)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_7\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Permitted Google Cloud Resource Locations to Approved Geographic Regions\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0083\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1833\" width=\"584\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1300.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.65,1238.16 219.65,1248.41L219.65,1366.41\"/><path class=\"pele-marker\" d=\"M219.65,1373.41L216.29,1365.41L223.01,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 469.87,1238.16 469.87,1248.41L469.87,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1360.91L466.51,1352.91L473.23,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1460.41L219.65,1513.91\"/><path class=\"pele-marker\" d=\"M219.65,1520.91L216.29,1512.91L223.01,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1638.16L176.08,1731.39\"/><path class=\"pele-marker\" d=\"M176.08,1738.39L172.72,1730.39L179.44,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1647.05C249,1666.47 443.81,1666.47 443.81,1685.89L443.81,1731.39\"/><path class=\"pele-marker\" d=\"M443.81,1738.39L440.45,1730.39L447.17,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1472.91L469.87,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1738.39L466.51,1730.39L473.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.82\" y=\"-54\" width=\"223.63\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Restrict Permitted Google</tspan><tspan x=\"0\" y=\"-4.9\">Cloud Resource Locations</tspan><tspan x=\"0\" y=\"16.1\">to Approved Geographic</tspan><tspan x=\"0\" y=\"37.1\">Regions</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0083</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1416.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0084",
    "title": "Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-7 • Profile O)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 437 578\" width=\"437\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M333.05,239L333.05,322.5C333.05,330.19 262.9,330.19 262.9,337.88L262.9,343\"/><path class=\"pele-marker\" d=\"M262.9,350L259.53,342L266.26,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M120.24,262L120.24,322.5C120.24,330.19 190.4,330.19 190.4,337.88L190.4,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M190.4,350L187.04,342L193.76,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M226.65,416L226.65,497\"/><path class=\"pele-marker\" d=\"M226.65,504L223.29,496L230.01,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M120.24,95L120.24,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M120.24,168L116.88,160L123.6,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"243.45\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"333.05\" y=\"298.4\">Authenticated management</tspan><tspan x=\"333.05\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"17.03\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"120.24\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"120.24\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"145.23\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"226.65\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"226.65\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"29.1\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"120.24\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(333.05,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(226.65,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(120.24,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(226.65,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(120.24,51.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_require_shielded_vm_t7\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM) (Tier-7 • Profile O)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.boolean_policy\n  msg := sprintf(\"Resource %v must configure boolean_policy.enforced for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_7\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Shielded VM Policies Org-Wide (Secure Boot and vTPM)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0084\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-112.24\" y=\"-43.5\" width=\"224.48\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"5.6\">Policies Org-Wide (Secure</tspan><tspan x=\"0\" y=\"26.6\">Boot and vTPM)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0084</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0085",
    "title": "Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-7 • Profile P)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Restrict Public IP Creation on Compute Engine Virtual Machines.",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 439 578\" width=\"439\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M334.41,239L334.41,322.5C334.41,330.19 264.26,330.19 264.26,337.88L264.26,343\"/><path class=\"pele-marker\" d=\"M264.26,350L260.9,342L267.62,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M121.6,262L121.6,322.5C121.6,330.19 191.76,330.19 191.76,337.88L191.76,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M191.76,350L188.4,342L195.12,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M228.01,416L228.01,497\"/><path class=\"pele-marker\" d=\"M228.01,504L224.65,496L231.37,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M121.6,95L121.6,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M121.6,168L118.24,160L124.96,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"244.81\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"334.41\" y=\"298.4\">Authenticated management</tspan><tspan x=\"334.41\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"18.39\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"121.6\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"121.6\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"146.59\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"228.01\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"228.01\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"30.46\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"121.6\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(334.41,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(228.01,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(121.6,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(228.01,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(121.6,51.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_vm_external_ip_t7\n\ndefault allow = false\n\n# Rule: Restrict Public IP Creation on Compute Engine Virtual Machines (Tier-7 • Profile P)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.denied_values for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_7\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Restrict Public IP Creation on Compute Engine Virtual Machines\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0085\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1812\" width=\"587\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1279.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 216.59,1217.16 216.59,1227.41L216.59,1345.41\"/><path class=\"pele-marker\" d=\"M216.59,1352.41L213.23,1344.41L219.95,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 472.93,1217.16 472.93,1227.41L472.93,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1339.91L469.57,1331.91L476.29,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1439.41L216.59,1492.91\"/><path class=\"pele-marker\" d=\"M216.59,1499.91L213.23,1491.91L219.95,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1617.16L173.02,1710.39\"/><path class=\"pele-marker\" d=\"M173.02,1717.39L169.66,1709.39L176.38,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1626.05C245.94,1645.47 446.87,1645.47 446.87,1664.89L446.87,1710.39\"/><path class=\"pele-marker\" d=\"M446.87,1717.39L443.51,1709.39L450.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1451.91L472.93,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1717.39L469.57,1709.39L476.29,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-113.6\" y=\"-43.5\" width=\"227.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Restrict Public IP Creation</tspan><tspan x=\"0\" y=\"5.6\">on Compute Engine Virtual</tspan><tspan x=\"0\" y=\"26.6\">Machines</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0085</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1395.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0086",
    "title": "Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-8 • Profile Q)",
    "category": "gcp-org-policy",
    "category_name": "Organization Policy & Resource Hierarchy",
    "service": "Resource Manager",
    "icon_url": "/images/gcp-icons/gcp-org-policy.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Policy evaluation at resource administration boundaries for Resource Manager. Integration contract: Principal, requested action, resource scope and applicable policy effect. Control: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains).",
    "mermaid": "flowchart TB\n  caller[\"Administrative identity\"]\n  api[\"Applicable resource management API\"]\n  resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n  target[\"Requested resource change\"]\n  control[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n  caller -->|Authenticated management operation| api\n  resource -.->|Applicable inherited or assigned policy| api\n  api -->|Only if identity and policy evaluation permit| target\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 514 578\" width=\"514\" height=\"578\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_caller_api_0\"><path d=\"M409.51,239L409.51,322.5C409.51,330.19 339.35,330.19 339.35,337.88L339.35,343\"/><path class=\"pele-marker\" d=\"M339.35,350L335.99,342L342.71,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_api_0\"><path d=\"M196.7,262L196.7,322.5C196.7,330.19 266.86,330.19 266.86,337.88L266.86,343\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M266.86,350L263.5,342L270.22,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_api_target_0\"><path d=\"M303.1,416L303.1,497\"/><path class=\"pele-marker\" d=\"M303.1,504L299.74,496L306.46,496Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M196.7,95L196.7,161\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M196.7,168L193.34,160L200.06,160Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_caller_api_0\"><rect x=\"319.91\" y=\"284.5\" width=\"179.21\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"409.51\" y=\"298.4\">Authenticated management</tspan><tspan x=\"409.51\" y=\"316.4\">operation</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_api_0\"><rect x=\"93.49\" y=\"284.5\" width=\"206.42\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"196.7\" y=\"298.4\">Applicable inherited or assigned</tspan><tspan x=\"196.7\" y=\"316.4\">policy</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_api_target_0\"><rect x=\"221.68\" y=\"438.5\" width=\"162.84\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"303.1\" y=\"452.4\">Only if identity and policy</tspan><tspan x=\"303.1\" y=\"470.4\">evaluation permit</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"105.55\" y=\"117.5\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"196.7\" y=\"132.9\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"caller\" transform=\"translate(409.51,215)\"><rect x=\"-95.8\" y=\"-24\" width=\"191.6\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Administrative identity</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"api\" transform=\"translate(303.1,383)\"><rect x=\"-88.25\" y=\"-33\" width=\"176.5\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Applicable resource</tspan><tspan x=\"0\" y=\"16.1\">management API</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(196.7,215)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-0-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"target\" transform=\"translate(303.1,537)\"><rect x=\"-90.03\" y=\"-33\" width=\"180.06\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Requested resource</tspan><tspan x=\"0\" y=\"16.1\">change</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(196.7,51.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_org_policy.gcp_org_policy_org_restrict_member_domains_t8\n\ndefault allow = false\n\n# Rule: Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains) (Tier-8 • Profile Q)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_organization_policy\"\n  not r.change.after.list_policy\n  msg := sprintf(\"Resource %v must configure list_policy.allowed_values for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_organization_policy\" \"gcp_org_policy_hardened_8\" {\n  # Enforce enterprise Resource Manager architectural baseline (Tier-8)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test the intended principal and a principal outside the allowed scope",
        "Evaluate effective permissions, inherited grants, explicit denies, and credential lifetime. A policy attachment alone does not establish least privilege.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Resource Manager\"]\n      requirement[\"Enforce Domain Restricted Sharing Constraint (constraints/iam.allowedPolicyMemberDomains)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0086\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-org-policy\", label: \"Resource Manager\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test the intended principal and a principal outside the allowed scope\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 586 1812\" width=\"586\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"43.22\" y=\"1279.91\" width=\"534.48\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"29.59\" y=\"8\" width=\"417.39\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"185\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 217.71,1217.16 217.71,1227.41L217.71,1345.41\"/><path class=\"pele-marker\" d=\"M217.71,1352.41L214.35,1344.41L221.07,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 471.81,1217.16 471.81,1227.41L471.81,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1339.91L468.45,1331.91L475.17,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M217.71,1439.41L217.71,1492.91\"/><path class=\"pele-marker\" d=\"M217.71,1499.91L214.35,1491.91L221.07,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M174.14,1617.16L174.14,1710.39\"/><path class=\"pele-marker\" d=\"M174.14,1717.39L170.78,1709.39L177.5,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M247.06,1626.05C247.06,1645.47 445.75,1645.47 445.75,1664.89L445.75,1710.39\"/><path class=\"pele-marker\" d=\"M445.75,1717.39L442.39,1709.39L449.11,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M471.81,1451.91L471.81,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M471.81,1717.39L468.45,1709.39L475.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"184.84\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.6\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"126.94\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"217.71\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"368.59\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"123.06\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"174.14\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"429.69\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"445.75\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"388.85\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"471.81\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Resource Manager</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-188.7\" y=\"-43.5\" width=\"377.39\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Domain Restricted</tspan><tspan x=\"0\" y=\"5.6\">Sharing Constraint</tspan><tspan x=\"0\" y=\"26.6\">(constraints/iam.allowedPolicyMemberDomains)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0086</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-org-policy\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-org-policy\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Organization Policy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-org-policy-1-gcp-gcp-org-policy-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Resource Manager</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(217.71,1395.91)\"><rect x=\"-111.82\" y=\"-43.5\" width=\"223.65\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test the intended principal</tspan><tspan x=\"0\" y=\"5.6\">and a principal outside the</tspan><tspan x=\"0\" y=\"26.6\">allowed scope</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(471.81,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(217.71,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(174.14,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(454.78,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "governance",
      "name": "Policy evaluation at resource administration boundaries",
      "contract": "Principal, requested action, resource scope and applicable policy effect",
      "dependencies": [
        "A resource hierarchy and explicitly scoped policy assignments",
        "A separate administrative identity and a test environment"
      ],
      "steps": [
        "Stage policy changes at a limited scope.",
        "Test a permitted request and a request the policy should reject.",
        "Review inherited assignments and rollout effects before widening scope."
      ],
      "tests": [
        "Verify policy denial and a known allowed administration path.",
        "Check whether an existing resource needs separate remediation."
      ],
      "failures": [
        "Unexpected denial: inspect inherited policy scope and exclusions.",
        "No enforcement: inspect policy effect and service applicability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0087",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t1\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_1\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0087\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0087</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0088",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t1\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_1\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0088\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0088</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0089",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t1\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_1\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0089\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0089</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0090",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t1\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_1\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0090\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0090</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0091",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-2 • Profile E)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t2\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-2 • Profile E)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_2\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0091\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0091</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0092",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-2 • Profile F)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t2\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-2 • Profile F)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_2\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0092\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0092</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0093",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-2 • Profile G)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t2\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-2 • Profile G)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_2\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0093\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0093</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0094",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-2 • Profile H)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Operational Excellence",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t2\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-2 • Profile H)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_2\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0094\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0094</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0095",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-3 • Profile I)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t3\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-3 • Profile I)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_3\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0095\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0095</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0096",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-3 • Profile J)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t3\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-3 • Profile J)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_3\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0096\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0096</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0097",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-3 • Profile K)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t3\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-3 • Profile K)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_3\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0097\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0097</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0098",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-3 • Profile L)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t3\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-3 • Profile L)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_3\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0098\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0098</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0099",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-4 • Profile M)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t4\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-4 • Profile M)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_4\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0099\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0099</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0100",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-4 • Profile N)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t4\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-4 • Profile N)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_4\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0100\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0100</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0101",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-4 • Profile O)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t4\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-4 • Profile O)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_4\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0101\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0101</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0102",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-4 • Profile P)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t4\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-4 • Profile P)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_4\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0102\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0102</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0103",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-5 • Profile Q)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t5\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-5 • Profile Q)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_5\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0103\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0103</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0104",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-5 • Profile R)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t5\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-5 • Profile R)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_5\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0104\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0104</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0105",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-5 • Profile S)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t5\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-5 • Profile S)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_5\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0105\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0105</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0106",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-5 • Profile T)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Performance Efficiency",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t5\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-5 • Profile T)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_5\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0106\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0106</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0107",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-6 • Profile U)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t6\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-6 • Profile U)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_6\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0107\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0107</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0108",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-6 • Profile V)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t6\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-6 • Profile V)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_6\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0108\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0108</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0109",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-6 • Profile W)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t6\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-6 • Profile W)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_6\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0109\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0109</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0110",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-6 • Profile X)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Cost Optimization",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t6\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-6 • Profile X)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_6\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0110\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0110</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0111",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-7 • Profile Y)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t7\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-7 • Profile Y)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_7\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0111\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0111</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0112",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-7 • Profile Z)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t7\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-7 • Profile Z)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_7\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0112\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0112</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0113",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-7 • Profile A)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t7\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-7 • Profile A)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_7\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0113\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0113</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0114",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-7 • Profile B)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t7\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-7 • Profile B)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_7\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0114\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0114</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0115",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-8 • Profile C)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t8\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-8 • Profile C)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_8\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-8)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0115\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0115</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0116",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-8 • Profile D)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t8\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-8 • Profile D)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_8\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-8)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0116\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0116</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0117",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-8 • Profile E)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t8\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-8 • Profile E)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_8\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-8)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0117\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0117</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0118",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-8 • Profile F)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t8\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-8 • Profile F)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_8\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-8)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0118\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0118</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0119",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-9 • Profile G)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t9\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-9 • Profile G)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_9\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-9)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0119\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0119</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0120",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-9 • Profile H)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t9\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-9 • Profile H)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_9\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-9)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0120\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0120</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0121",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-9 • Profile I)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t9\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-9 • Profile I)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_9\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-9)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0121\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0121</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0122",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-9 • Profile J)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t9\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-9 • Profile J)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_9\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-9)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0122\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0122</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0123",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-10 • Profile K)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t10\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-10 • Profile K)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_10\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-10)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0123\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0123</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0124",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-10 • Profile L)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t10\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-10 • Profile L)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_10\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-10)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0124\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0124</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0125",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-10 • Profile M)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t10\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-10 • Profile M)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_10\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-10)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0125\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0125</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0126",
    "title": "Verify IAP Signed JWT Assertion Headers in Application Code (Tier-10 • Profile N)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Verify IAP Signed JWT Assertion Headers in Application Code.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 443 424\" width=\"443\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 219.51,163.19 219.51,170.88L219.51,176\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M219.51,277L219.51,343\"/><path class=\"pele-marker\" d=\"M219.51,350L216.15,342L222.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M335.53,95L335.53,155.5C335.53,163.19 219.51,163.19 219.51,170.88L219.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M219.51,183L216.15,175L222.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"117.06\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"244.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"335.53\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(219.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(219.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(335.53,51.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_jwt_verification_enforced_t10\n\ndefault allow = false\n\n# Rule: Verify IAP Signed JWT Assertion Headers in Application Code (Tier-10 • Profile N)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.oauth2_client_secret for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_10\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-10)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Verify IAP Signed JWT Assertion Headers in Application Code\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0126\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-99.36\" y=\"-43.5\" width=\"198.72\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify IAP Signed JWT</tspan><tspan x=\"0\" y=\"5.6\">Assertion Headers in</tspan><tspan x=\"0\" y=\"26.6\">Application Code</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0126</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0127",
    "title": "Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-11 • Profile O)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 456 445\" width=\"456\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 222.62,184.19 222.62,191.88L222.62,197\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M222.62,298L222.62,364\"/><path class=\"pele-marker\" d=\"M222.62,371L219.26,363L225.98,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M341.76,116L341.76,176.5C341.76,184.19 222.62,184.19 222.62,191.88L222.62,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M222.62,204L219.26,196L225.98,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"120.18\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"222.62\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"250.62\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"341.76\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(222.62,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(222.62,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(341.76,62)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_enabled_backend_service_t11\n\ndefault allow = false\n\n# Rule: Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers (Tier-11 • Profile O)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_backend_service\"\n  not r.change.after.iap\n  msg := sprintf(\"Resource %v must configure iap.enabled for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_backend_service\" \"gcp_iap_hardened_11\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-11)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test protocol negotiation and certificate trust",
        "Transport encryption, identity validation, and authorization are separate checks. A SecureTransport condition alone does not set a minimum TLS version.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Identity-Aware Proxy (IAP) on External HTTPS Application Load Balancers\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0127\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test protocol negotiation and certificate trust\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.77\" y=\"1300.91\" width=\"531.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.26,1238.16 219.26,1248.41L219.26,1376.91\"/><path class=\"pele-marker\" d=\"M219.26,1383.91L215.9,1375.91L222.62,1375.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.26,1238.16 470.26,1248.41L470.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1360.91L466.9,1352.91L473.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.26,1449.91L219.26,1513.91\"/><path class=\"pele-marker\" d=\"M219.26,1520.91L215.9,1512.91L222.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.69,1638.16L175.69,1731.39\"/><path class=\"pele-marker\" d=\"M175.69,1738.39L172.33,1730.39L179.05,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.61,1647.05C248.61,1666.47 444.2,1666.47 444.2,1685.89L444.2,1731.39\"/><path class=\"pele-marker\" d=\"M444.2,1738.39L440.84,1730.39L447.56,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.26,1472.91L470.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.26,1738.39L466.9,1730.39L473.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"367.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.69\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.14\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.2\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.59\" y=\"-54\" width=\"211.18\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Identity-Aware</tspan><tspan x=\"0\" y=\"-4.9\">Proxy (IAP) on External</tspan><tspan x=\"0\" y=\"16.1\">HTTPS Application Load</tspan><tspan x=\"0\" y=\"37.1\">Balancers</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0127</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.26,1416.91)\"><rect x=\"-105.6\" y=\"-33\" width=\"211.2\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Test protocol negotiation</tspan><tspan x=\"0\" y=\"16.1\">and certificate trust</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.69,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.23,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0128",
    "title": "Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-11 • Profile P)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce Context-Aware Access Levels on IAP Protected Web Resources.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 424\" width=\"467\" height=\"424\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,95L103.48,155.5C103.48,163.19 225.51,163.19 225.51,170.88L225.51,176\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.51,277L225.51,343\"/><path class=\"pele-marker\" d=\"M225.51,350L222.15,342L228.87,342Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.54,95L347.54,155.5C347.54,163.19 225.51,163.19 225.51,170.88L225.51,176\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.51,183L222.15,175L228.87,175Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"117.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"131.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"149.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.07\" y=\"299.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.51\" y=\"314.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.39\" y=\"125\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.54\" y=\"140.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,71)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.51,230)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.51,383)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.54,51.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_context_aware_access_t11\n\ndefault allow = false\n\n# Rule: Enforce Context-Aware Access Levels on IAP Protected Web Resources (Tier-11 • Profile P)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_web_backend_service_iam_binding\"\n  not r.change.after.condition\n  msg := sprintf(\"Resource %v must configure condition.expression for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_iap_web_backend_service_iam_binding\" \"gcp_iap_hardened_11\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-11)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Read back the effective setting and exercise its rejection path",
        "Verify resource scope, service support, and the actual policy effect before deployment.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce Context-Aware Access Levels on IAP Protected Web Resources\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0128\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Read back the effective setting and exercise its rejection path\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 584 1812\" width=\"584\" height=\"1812\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"45.16\" y=\"1279.91\" width=\"530.6\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1012.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"522\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"466\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,434L238.29,575\"/><path class=\"pele-marker\" d=\"M238.29,582L234.93,574L241.65,574Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,721.74C199.61,744.07 131.82,744.07 131.82,766.41L131.82,811.91\"/><path class=\"pele-marker\" d=\"M131.82,818.91L128.46,810.91L135.18,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,721.74C276.96,744.07 344.76,744.07 344.76,766.41L344.76,811.91\"/><path class=\"pele-marker\" d=\"M344.76,818.91L341.4,810.91L348.12,810.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,884.91L344.76,1065.91\"/><path class=\"pele-marker\" d=\"M344.76,1072.91L341.4,1064.91L348.12,1064.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1166.91C344.76,1176.91 336.76,1176.91 336.76,1186.91L336.76,1206.91C336.76,1217.16 219.65,1217.16 219.65,1227.41L219.65,1345.41\"/><path class=\"pele-marker\" d=\"M219.65,1352.41L216.29,1344.41L223.01,1344.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1166.91C344.76,1176.91 352.76,1176.91 352.76,1186.91L352.76,1206.91C352.76,1217.16 469.87,1217.16 469.87,1227.41L469.87,1332.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1339.91L466.51,1331.91L473.23,1331.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.65,1439.41L219.65,1492.91\"/><path class=\"pele-marker\" d=\"M219.65,1499.91L216.29,1491.91L223.01,1491.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M176.08,1617.16L176.08,1710.39\"/><path class=\"pele-marker\" d=\"M176.08,1717.39L172.72,1709.39L179.44,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M249,1626.05C249,1645.47 443.81,1645.47 443.81,1664.89L443.81,1710.39\"/><path class=\"pele-marker\" d=\"M443.81,1717.39L440.45,1709.39L447.17,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M469.87,1451.91L469.87,1710.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M469.87,1717.39L466.51,1709.39L473.23,1709.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.78\" y=\"1305.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1038.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"547.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"768.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"783.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"768.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"783.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"947.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"961.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"979.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.88\" y=\"1229.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.65\" y=\"1244.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.65\" y=\"1229.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1244.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"125\" y=\"1666.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"176.08\" y=\"1682.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"427.75\" y=\"1666.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"443.81\" y=\"1682.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"386.91\" y=\"1561.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"469.87\" y=\"1577.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,390.5)\"><rect x=\"-111.37\" y=\"-43.5\" width=\"222.74\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Enforce Context-Aware</tspan><tspan x=\"0\" y=\"5.6\">Access Levels on IAP</tspan><tspan x=\"0\" y=\"26.6\">Protected Web Resources</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,663.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,851.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,851.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0128</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1119.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.65,1395.91)\"><rect x=\"-101.6\" y=\"-43.5\" width=\"203.2\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Read back the effective</tspan><tspan x=\"0\" y=\"5.6\">setting and exercise its</tspan><tspan x=\"0\" y=\"26.6\">rejection path</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(469.87,1395.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.65,1572.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(176.08,1750.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(452.84,1750.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0129",
    "title": "Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-11 • Profile Q)",
    "category": "gcp-iap",
    "category_name": "Identity-Aware Proxy & BeyondCorp Enterprise",
    "service": "Identity-Aware Proxy",
    "icon_url": "/images/gcp-icons/gcp-iap.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "Edge request routing and origin access for Identity-Aware Proxy. Integration contract: Public hostname, certificate, cache key, origin host and auth policy. Control: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress.",
    "mermaid": "flowchart TB\n  client[\"Browser or API client\"]\n  resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n  origin[\"Configured supported application origin\"]\n  control[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n  client -->|HTTPS request and required identity| resource\n  resource -->|Configured backend connection| origin\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 467 445\" width=\"467\" height=\"445\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_client_resource_0\"><path d=\"M103.48,116L103.48,176.5C103.48,184.19 225.5,184.19 225.5,191.88L225.5,197\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_origin_0\"><path d=\"M225.5,298L225.5,364\"/><path class=\"pele-marker\" d=\"M225.5,371L222.14,363L228.86,363Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M347.52,116L347.52,176.5C347.52,184.19 225.5,184.19 225.5,191.88L225.5,197\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M225.5,204L222.14,196L228.86,196Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_client_resource_0\"><rect x=\"10\" y=\"138.5\" width=\"186.96\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"103.48\" y=\"152.4\">HTTPS request and required</tspan><tspan x=\"103.48\" y=\"170.4\">identity</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_origin_0\"><rect x=\"123.06\" y=\"320.5\" width=\"204.88\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"225.5\" y=\"335.9\" text-anchor=\"middle\">Configured backend connection</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"256.38\" y=\"146\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"347.52\" y=\"161.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(103.48,92)\"><rect x=\"-92.69\" y=\"-24\" width=\"185.38\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Browser or API client</text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(225.5,251)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-0-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-0-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"origin\" transform=\"translate(225.5,404)\"><rect x=\"-94.93\" y=\"-33\" width=\"189.86\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured supported</tspan><tspan x=\"0\" y=\"16.1\">application origin</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(347.52,62)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_iap.gcp_iap_iap_tcp_forwarding_t11\n\ndefault allow = false\n\n# Rule: Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress (Tier-11 • Profile Q)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_iap_tunnel_instance_iam_binding\"\n  not r.change.after.role\n  msg := sprintf(\"Resource %v must configure role for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_iap_tunnel_instance_iam_binding\" \"gcp_iap_hardened_11\" {\n  # Enforce enterprise Identity-Aware Proxy architectural baseline (Tier-11)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Identity-Aware Proxy\"]\n      requirement[\"Enforce IAP TCP Forwarding for Zero Direct Internet SSH and RDP Ingress\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0129\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-iap\", label: \"Identity-Aware Proxy\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Identity-Aware Proxy</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-111.35\" y=\"-54\" width=\"222.7\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce IAP TCP</tspan><tspan x=\"0\" y=\"-4.9\">Forwarding for Zero Direct</tspan><tspan x=\"0\" y=\"16.1\">Internet SSH and RDP</tspan><tspan x=\"0\" y=\"37.1\">Ingress</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0129</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iap\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iap\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Identity-Aware Proxy</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iap-1-gcp-gcp-iap-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#669DF6\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iap-1-gcp-gcp-iap-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Identity-Aware Proxy</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "edge",
      "name": "Edge request routing and origin access",
      "contract": "Public hostname, certificate, cache key, origin host and auth policy",
      "dependencies": [
        "A reachable application or object origin",
        "A public certificate and explicit DNS records",
        "Configured origin access and any attached WAF or identity policy"
      ],
      "steps": [
        "Deploy and test the origin independently.",
        "Configure edge routing, origin authentication and cache behavior.",
        "Attach the intended protection and verify allowed and blocked requests."
      ],
      "tests": [
        "Test cache hits, cache misses and authenticated routes.",
        "Verify disallowed requests are rejected and the origin access policy holds."
      ],
      "failures": [
        "403: distinguish edge policy rejection from origin permission failure.",
        "Stale content: inspect cache keys, TTL and invalidation behavior."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0130",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t1\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_1\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0130\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0130</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0131",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t1\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_1\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0131\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0131</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0132",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(605.69,185)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_no_public_ip_t1\n\ndefault allow = false\n\n# Rule: Eliminate Direct External Public IPs on Compute Instances in Production VPCs\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.network_interface\n  msg := sprintf(\"Resource %v must configure network_interface.access_config for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_1\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0132\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0132</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0133",
    "title": "Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 744 588\" width=\"744\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.7,239L617.7,301.5C617.7,305.34 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.55\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.7\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.7,185)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_disk_cmek_encryption_t1\n\ndefault allow = false\n\n# Rule: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_disk\"\n  not r.change.after.kms_key_self_link\n  msg := sprintf(\"Resource %v must configure kms_key_self_link for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_disk\" \"gcp_gce_hardened_1\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0133\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0133</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0134",
    "title": "Enable OS Login and Enforce Two-Factor Authentication for SSH Management",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enable OS Login and Enforce Two-Factor Authentication for SSH Management.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 706 588\" width=\"706\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M599.04,239L599.04,301.5C599.04,305.66 371.64,312.72 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.9\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"599.04\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(599.04,185)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_enable_os_login_t1\n\ndefault allow = false\n\n# Rule: Enable OS Login and Enforce Two-Factor Authentication for SSH Management\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_project_metadata_item\"\n  not r.change.after.key\n  msg := sprintf(\"Resource %v must configure key for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_project_metadata_item\" \"gcp_gce_hardened_1\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-1)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0134\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0134</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0135",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-2 • Profile F)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t2\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-2 • Profile F)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_2\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0135\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0135</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0136",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-2 • Profile G)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t2\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-2 • Profile G)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_2\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0136\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0136</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0137",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-2 • Profile H)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Operational Excellence",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(605.69,185)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_no_public_ip_t2\n\ndefault allow = false\n\n# Rule: Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-2 • Profile H)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.network_interface\n  msg := sprintf(\"Resource %v must configure network_interface.access_config for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_2\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0137\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0137</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0138",
    "title": "Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-2 • Profile I)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 744 588\" width=\"744\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.7,239L617.7,301.5C617.7,305.34 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.55\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.7\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.7,185)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_disk_cmek_encryption_t2\n\ndefault allow = false\n\n# Rule: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-2 • Profile I)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_disk\"\n  not r.change.after.kms_key_self_link\n  msg := sprintf(\"Resource %v must configure kms_key_self_link for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_disk\" \"gcp_gce_hardened_2\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0138\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0138</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0139",
    "title": "Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-2 • Profile J)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enable OS Login and Enforce Two-Factor Authentication for SSH Management.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 706 588\" width=\"706\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M599.04,239L599.04,301.5C599.04,305.66 371.64,312.72 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.9\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"599.04\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(599.04,185)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_enable_os_login_t2\n\ndefault allow = false\n\n# Rule: Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-2 • Profile J)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_project_metadata_item\"\n  not r.change.after.key\n  msg := sprintf(\"Resource %v must configure key for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_project_metadata_item\" \"gcp_gce_hardened_2\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-2)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0139\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0139</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0140",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-3 • Profile K)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t3\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-3 • Profile K)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_3\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0140\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0140</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0141",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-3 • Profile L)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t3\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-3 • Profile L)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_3\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0141\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0141</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0142",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-3 • Profile M)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(605.69,185)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_no_public_ip_t3\n\ndefault allow = false\n\n# Rule: Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-3 • Profile M)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.network_interface\n  msg := sprintf(\"Resource %v must configure network_interface.access_config for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_3\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0142\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0142</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0143",
    "title": "Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-3 • Profile N)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Cost Optimization",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 744 588\" width=\"744\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.7,239L617.7,301.5C617.7,305.34 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.55\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.7\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.7,185)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_disk_cmek_encryption_t3\n\ndefault allow = false\n\n# Rule: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-3 • Profile N)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_disk\"\n  not r.change.after.kms_key_self_link\n  msg := sprintf(\"Resource %v must configure kms_key_self_link for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_disk\" \"gcp_gce_hardened_3\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0143\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0143</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0144",
    "title": "Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-3 • Profile O)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enable OS Login and Enforce Two-Factor Authentication for SSH Management.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 706 588\" width=\"706\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M599.04,239L599.04,301.5C599.04,305.66 371.64,312.72 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.9\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"599.04\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(599.04,185)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_enable_os_login_t3\n\ndefault allow = false\n\n# Rule: Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-3 • Profile O)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_project_metadata_item\"\n  not r.change.after.key\n  msg := sprintf(\"Resource %v must configure key for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_project_metadata_item\" \"gcp_gce_hardened_3\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-3)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0144\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0144</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0145",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-4 • Profile P)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t4\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-4 • Profile P)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_4\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0145\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0145</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0146",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-4 • Profile Q)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t4\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-4 • Profile Q)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_4\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0146\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0146</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0147",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-4 • Profile R)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(605.69,185)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_no_public_ip_t4\n\ndefault allow = false\n\n# Rule: Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-4 • Profile R)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.network_interface\n  msg := sprintf(\"Resource %v must configure network_interface.access_config for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_4\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0147\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0147</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0148",
    "title": "Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-4 • Profile S)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 744 588\" width=\"744\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.7,239L617.7,301.5C617.7,305.34 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.55\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.7\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.7,185)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_disk_cmek_encryption_t4\n\ndefault allow = false\n\n# Rule: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-4 • Profile S)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_disk\"\n  not r.change.after.kms_key_self_link\n  msg := sprintf(\"Resource %v must configure kms_key_self_link for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_disk\" \"gcp_gce_hardened_4\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0148\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0148</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0149",
    "title": "Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-4 • Profile T)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Performance Efficiency",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enable OS Login and Enforce Two-Factor Authentication for SSH Management.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 706 588\" width=\"706\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M599.04,239L599.04,301.5C599.04,305.66 371.64,312.72 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.9\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"599.04\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(599.04,185)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_enable_os_login_t4\n\ndefault allow = false\n\n# Rule: Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-4 • Profile T)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_project_metadata_item\"\n  not r.change.after.key\n  msg := sprintf(\"Resource %v must configure key for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_project_metadata_item\" \"gcp_gce_hardened_4\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-4)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0149\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0149</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0150",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-5 • Profile U)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "Critical",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t5\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-5 • Profile U)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_5\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0150\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0150</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0151",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-5 • Profile V)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t5\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-5 • Profile V)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_5\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0151\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0151</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0152",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-5 • Profile W)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Operational Excellence",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(605.69,185)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_no_public_ip_t5\n\ndefault allow = false\n\n# Rule: Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-5 • Profile W)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.network_interface\n  msg := sprintf(\"Resource %v must configure network_interface.access_config for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_5\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"operational_excellence\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0152\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0152</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0153",
    "title": "Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-5 • Profile X)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Cost Optimization",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 744 588\" width=\"744\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.7,239L617.7,301.5C617.7,305.34 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.55\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.7\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.7,185)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_disk_cmek_encryption_t5\n\ndefault allow = false\n\n# Rule: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-5 • Profile X)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_disk\"\n  not r.change.after.kms_key_self_link\n  msg := sprintf(\"Resource %v must configure kms_key_self_link for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_disk\" \"gcp_gce_hardened_5\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"cost_optimization\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0153\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0153</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0154",
    "title": "Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-5 • Profile Y)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enable OS Login and Enforce Two-Factor Authentication for SSH Management.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 706 588\" width=\"706\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M599.04,239L599.04,301.5C599.04,305.66 371.64,312.72 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.9\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"599.04\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(599.04,185)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_enable_os_login_t5\n\ndefault allow = false\n\n# Rule: Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-5 • Profile Y)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_project_metadata_item\"\n  not r.change.after.key\n  msg := sprintf(\"Resource %v must configure key for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_project_metadata_item\" \"gcp_gce_hardened_5\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-5)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0154\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0154</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0155",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-6 • Profile Z)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t6\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-6 • Profile Z)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_6\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0155\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0155</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0156",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-6 • Profile A)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t6\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-6 • Profile A)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_6\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0156\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0156</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0157",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-6 • Profile B)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(605.69,185)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_no_public_ip_t6\n\ndefault allow = false\n\n# Rule: Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-6 • Profile B)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.network_interface\n  msg := sprintf(\"Resource %v must configure network_interface.access_config for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_6\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Test an allowed source and a denied source against the actual endpoint",
        "Identity, network reachability, and application permissions are independent. Private networking and DNS require explicit service-specific configuration.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0157\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Test an allowed source and a denied source against the actual endpoint\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 587 1833\" width=\"587\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"42.1\" y=\"1300.91\" width=\"536.71\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.59,1238.16 216.59,1248.41L216.59,1366.41\"/><path class=\"pele-marker\" d=\"M216.59,1373.41L213.23,1365.41L219.95,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 472.93,1238.16 472.93,1248.41L472.93,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1360.91L469.57,1352.91L476.29,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.59,1460.41L216.59,1513.91\"/><path class=\"pele-marker\" d=\"M216.59,1520.91L213.23,1512.91L219.95,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M173.02,1638.16L173.02,1731.39\"/><path class=\"pele-marker\" d=\"M173.02,1738.39L169.66,1730.39L176.38,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.94,1647.05C245.94,1666.47 446.87,1666.47 446.87,1685.89L446.87,1731.39\"/><path class=\"pele-marker\" d=\"M446.87,1738.39L443.51,1730.39L450.23,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M472.93,1472.91L472.93,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M472.93,1738.39L469.57,1730.39L476.29,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.73\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.83\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.59\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"369.7\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.95\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"173.02\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"430.81\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"446.87\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"389.96\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"472.93\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-105.58\" y=\"-54\" width=\"211.15\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Eliminate Direct External</tspan><tspan x=\"0\" y=\"-4.9\">Public IPs on Compute</tspan><tspan x=\"0\" y=\"16.1\">Instances in Production</tspan><tspan x=\"0\" y=\"37.1\">VPCs</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0157</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.59,1416.91)\"><rect x=\"-116.28\" y=\"-43.5\" width=\"232.56\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Test an allowed source and</tspan><tspan x=\"0\" y=\"5.6\">a denied source against the</tspan><tspan x=\"0\" y=\"26.6\">actual endpoint</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(472.93,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.59,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(173.02,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(455.9,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0158",
    "title": "Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-6 • Profile C)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 744 588\" width=\"744\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.7,239L617.7,301.5C617.7,305.34 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.55\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.7\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.7,185)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_disk_cmek_encryption_t6\n\ndefault allow = false\n\n# Rule: Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks (Tier-6 • Profile C)\n# Compliance: CIS Google Cloud Platform Foundation Benchmark v3.0, NIST SP 800-53 SC-13, PCI-DSS v4.0 Req 3.4, SOC 2 CC6.1\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_disk\"\n  not r.change.after.kms_key_self_link\n  msg := sprintf(\"Resource %v must configure kms_key_self_link for compliance standard CIS Google Cloud Platform Foundation Benchmark v3.0\", [r.address])\n}",
    "terraform": "resource \"google_compute_disk\" \"gcp_gce_hardened_6\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Customer-Supplied or Customer-Managed Encryption Keys (CMEK) on Disks\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0158\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.58\" y=\"-54\" width=\"235.17\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Customer-Supplied</tspan><tspan x=\"0\" y=\"-4.9\">or Customer-Managed</tspan><tspan x=\"0\" y=\"16.1\">Encryption Keys (CMEK) on</tspan><tspan x=\"0\" y=\"37.1\">Disks</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0158</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0159",
    "title": "Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-6 • Profile D)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Performance Efficiency",
    "severity": "High",
    "compliance": [
      "CIS GCP 2.1.1",
      "NIST SP 800-171",
      "HIPAA 164.312(a)(2)(iv)",
      "FedRAMP High"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enable OS Login and Enforce Two-Factor Authentication for SSH Management.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 706 588\" width=\"706\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M599.04,239L599.04,301.5C599.04,305.66 371.64,312.72 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.9\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"599.04\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(599.04,185)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_enable_os_login_t6\n\ndefault allow = false\n\n# Rule: Enable OS Login and Enforce Two-Factor Authentication for SSH Management (Tier-6 • Profile D)\n# Compliance: CIS GCP 2.1.1, NIST SP 800-171, HIPAA 164.312(a)(2)(iv), FedRAMP High\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_project_metadata_item\"\n  not r.change.after.key\n  msg := sprintf(\"Resource %v must configure key for compliance standard CIS GCP 2.1.1\", [r.address])\n}",
    "terraform": "resource \"google_compute_project_metadata_item\" \"gcp_gce_hardened_6\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-6)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"performance_efficiency\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enable OS Login and Enforce Two-Factor Authentication for SSH Management\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0159\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.93\" y=\"-54\" width=\"197.86\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enable OS Login and</tspan><tspan x=\"0\" y=\"-4.9\">Enforce Two-Factor</tspan><tspan x=\"0\" y=\"16.1\">Authentication for SSH</tspan><tspan x=\"0\" y=\"37.1\">Management</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0159</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0160",
    "title": "Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-7 • Profile E)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Security",
    "severity": "Critical",
    "compliance": [
      "CIS GCP 3.1.4",
      "ISO/IEC 27001:2022 A.8.24",
      "PCI-DSS v4.0 Req 10.2.1",
      "NIST 800-53 AU-2"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring).",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 705 588\" width=\"705\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M598.15,239L598.15,301.5C598.15,305.67 371.64,312.7 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"507.01\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"598.15\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(598.15,185)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_shielded_vm_enforced_t7\n\ndefault allow = false\n\n# Rule: Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring) (Tier-7 • Profile E)\n# Compliance: CIS GCP 3.1.4, ISO/IEC 27001:2022 A.8.24, PCI-DSS v4.0 Req 10.2.1, NIST 800-53 AU-2\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.shielded_instance_config\n  msg := sprintf(\"Resource %v must configure shielded_instance_config.enable_secure_boot for compliance standard CIS GCP 3.1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_7\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"security\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Generate a known event and verify delivery to the configured destination",
        "Telemetry requires enabled sources, access permissions, retention, and a tested delivery path. A detection or alert does not automatically remediate a resource.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Shielded VM Settings (Secure Boot, vTPM, and Integrity Monitoring)\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0160\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Generate a known event and verify delivery to the configured destination\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 585 1833\" width=\"585\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"44.88\" y=\"1300.91\" width=\"531.15\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 219.37,1238.16 219.37,1248.41L219.37,1366.41\"/><path class=\"pele-marker\" d=\"M219.37,1373.41L216.01,1365.41L222.73,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 470.15,1238.16 470.15,1248.41L470.15,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1360.91L466.79,1352.91L473.51,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M219.37,1460.41L219.37,1513.91\"/><path class=\"pele-marker\" d=\"M219.37,1520.91L216.01,1512.91L222.73,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M175.8,1638.16L175.8,1731.39\"/><path class=\"pele-marker\" d=\"M175.8,1738.39L172.44,1730.39L179.16,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M248.72,1647.05C248.72,1666.47 444.09,1666.47 444.09,1685.89L444.09,1731.39\"/><path class=\"pele-marker\" d=\"M444.09,1738.39L440.73,1730.39L447.45,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M470.15,1472.91L470.15,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M470.15,1738.39L466.79,1730.39L473.51,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"186.51\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"128.61\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"219.37\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"366.92\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"124.73\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"175.8\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"428.03\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"444.09\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"387.18\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"470.15\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-98.04\" y=\"-54\" width=\"196.08\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Shielded VM</tspan><tspan x=\"0\" y=\"-4.9\">Settings (Secure Boot,</tspan><tspan x=\"0\" y=\"16.1\">vTPM, and Integrity</tspan><tspan x=\"0\" y=\"37.1\">Monitoring)</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0160</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(219.37,1416.91)\"><rect x=\"-105.16\" y=\"-43.5\" width=\"210.32\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Generate a known event</tspan><tspan x=\"0\" y=\"5.6\">and verify delivery to the</tspan><tspan x=\"0\" y=\"26.6\">configured destination</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(470.15,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(219.37,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(175.8,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(453.12,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0161",
    "title": "Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-7 • Profile F)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "Low",
    "compliance": [
      "CIS GCP 1.4",
      "SOC 2 Type II CC6.8",
      "NIST 800-53 CP-9",
      "HITRUST CSF v9.4"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 743 588\" width=\"743\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M617.25,239L617.25,301.5C617.25,305.35 371.64,313.03 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"526.11\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"617.25\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Workload identity with a</tspan><tspan x=\"0\" y=\"48.1\">scoped IAM grant</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"control\" transform=\"translate(617.25,185)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g></g></svg>",
    "opa_policy": "package gcp.gcp_gce.gcp_gce_gce_confidential_compute_t7\n\ndefault allow = false\n\n# Rule: Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping (Tier-7 • Profile F)\n# Compliance: CIS GCP 1.4, SOC 2 Type II CC6.8, NIST 800-53 CP-9, HITRUST CSF v9.4\ndeny[msg] {\n  r := input.resource_changes[_]\n  r.type == \"google_compute_instance\"\n  not r.change.after.confidential_instance_config\n  msg := sprintf(\"Resource %v must configure confidential_instance_config.enable_confidential_compute for compliance standard CIS GCP 1.4\", [r.address])\n}",
    "terraform": "resource \"google_compute_instance\" \"gcp_gce_hardened_7\" {\n  # Enforce enterprise Compute Engine architectural baseline (Tier-7)\n  labels = {\n    environment      = var.environment\n    compliance       = \"cis-gcp-foundations\"\n    security_pillar   = \"reliability\"\n    managed_by        = \"terraform\"\n  }\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}",
    "remediation": "Inspect resource in Google Cloud Console or apply Terraform: terraform plan -out=tfplan && terraform apply tfplan",
    "diagram_revision": "2026-11-06-developer",
    "diagram_details": {
      "scope": "Control deployment and verification workflow. Companion policy and configuration snippets are illustrative; validate their schema, inputs, and resource coverage before applying them.",
      "checks": [
        "Verify key identity and permitted encrypt or decrypt operations",
        "Check service support, key location, key policy, and the service identity. Encryption at rest does not prevent an authorized data read.",
        "Confirm effective permissions and record both successful and rejected test cases."
      ],
      "sources": [
        "https://cloud.google.com/iam/docs/overview",
        "https://cloud.google.com/logging/docs/audit"
      ]
    },
    "deployment_mermaid": "flowchart TB\n    subgraph proposal[\"Google Cloud: proposed control change\"]\n      change[\"Proposed configuration for Compute Engine\"]\n      requirement[\"Enforce Confidential VM with AMD SEV Memory Encryption for Zero Memory Snooping\"]\n      identity@{ icon: \"logos:gcp-iam\", label: \"Applicable IAM and organization controls\", h: 64, pos: \"b\" }\n      change --> requirement\n      identity -.->|Required permissions| change\n    end\n    subgraph validation[\"Review and pre-deployment validation\"]\n      check{\"Service-specific checks pass?\"}\n      reject[\"Revise configuration; no change applied\"]\n      review[\"Owner review: GCP-BP-0161\"]\n      requirement --> check\n      check -->|No or unknown| reject\n      check -->|Yes| review\n    end\n    subgraph target[\"Google Cloud: resource administration\"]\n      resource@{ icon: \"logos:gcp-gce\", label: \"Compute Engine\", h: 64, pos: \"b\" }\n      review -->|Apply through the supported service management API| resource\n    end\n    subgraph verification[\"Readback and operational evidence\"]\n      verify[\"Verify key identity and permitted encrypt or decrypt operations\"]\n      evidence@{ icon: \"logos:gcp-logging\", label: \"Supported Cloud Audit Logs\", h: 64, pos: \"b\" }\n      outcome{\"Observed behavior matches control?\"}\n      followup[\"Investigate drift or missing enforcement\"]\n      accepted[\"Record resource scope, result, and evidence\"]\n      resource -->|Read effective configuration| verify\n      resource -.->|Separate audit or evidence path| evidence\n      verify --> outcome\n      outcome -->|No or unknown| followup\n      outcome -->|Yes| accepted\n      evidence -.->|Correlate with test results| accepted\n    end",
    "deployment_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 588 1833\" width=\"588\" height=\"1833\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-clusters\"><g class=\"pele-cluster\" data-id=\"verification\"><rect x=\"41.78\" y=\"1300.91\" width=\"537.37\" height=\"523.48\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"target\"><rect x=\"194.26\" y=\"1033.91\" width=\"300.99\" height=\"194\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"validation\"><rect x=\"8\" y=\"543\" width=\"425.89\" height=\"402.91\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/></g><g class=\"pele-cluster\" data-id=\"proposal\"><rect x=\"82.88\" y=\"8\" width=\"310.82\" height=\"487\" fill=\"var(--_a)\" fill-opacity=\"0.5\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"238.29\" y=\"33.6\" text-anchor=\"middle\">Google Cloud: proposed control change</text></g></g><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_change_requirement_0\"><path d=\"M238.29,299L238.29,340\"/><path class=\"pele-marker\" d=\"M238.29,347L234.93,339L241.65,339Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_identity_change_0\"><path d=\"M238.29,160L238.29,226\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M238.29,233L234.93,225L241.65,225Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_requirement_check_0\"><path d=\"M238.29,455L238.29,596\"/><path class=\"pele-marker\" d=\"M238.29,603L234.93,595L241.65,595Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_reject_0\"><path d=\"M199.61,742.74C199.61,765.07 131.82,765.07 131.82,787.41L131.82,832.91\"/><path class=\"pele-marker\" d=\"M131.82,839.91L128.46,831.91L135.18,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_check_review_0\"><path d=\"M276.96,742.74C276.96,765.07 344.76,765.07 344.76,787.41L344.76,832.91\"/><path class=\"pele-marker\" d=\"M344.76,839.91L341.4,831.91L348.12,831.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_review_resource_0\"><path d=\"M344.76,905.91L344.76,1086.91\"/><path class=\"pele-marker\" d=\"M344.76,1093.91L341.4,1085.91L348.12,1085.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_verify_0\"><path d=\"M344.76,1187.91C344.76,1197.91 336.76,1197.91 336.76,1207.91L336.76,1227.91C336.76,1238.16 216.26,1238.16 216.26,1248.41L216.26,1366.41\"/><path class=\"pele-marker\" d=\"M216.26,1373.41L212.9,1365.41L219.62,1365.41Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_evidence_0\"><path d=\"M344.76,1187.91C344.76,1197.91 352.76,1197.91 352.76,1207.91L352.76,1227.91C352.76,1238.16 473.26,1238.16 473.26,1248.41L473.26,1353.91\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1360.91L469.9,1352.91L476.62,1352.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_verify_outcome_0\"><path d=\"M216.26,1460.41L216.26,1513.91\"/><path class=\"pele-marker\" d=\"M216.26,1520.91L212.9,1512.91L219.62,1512.91Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_followup_0\"><path d=\"M172.7,1638.16L172.7,1731.39\"/><path class=\"pele-marker\" d=\"M172.7,1738.39L169.34,1730.39L176.06,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_outcome_accepted_0\"><path d=\"M245.62,1647.05C245.62,1666.47 447.19,1666.47 447.19,1685.89L447.19,1731.39\"/><path class=\"pele-marker\" d=\"M447.19,1738.39L443.83,1730.39L450.55,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_evidence_accepted_0\"><path d=\"M473.26,1472.91L473.26,1731.39\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M473.26,1738.39L469.9,1730.39L476.62,1730.39Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-cluster-titles\"><g class=\"pele-cluster-title\" data-id=\"verification\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"183.4\" y=\"1326.51\" text-anchor=\"middle\">Readback and operational evidence</text></g><g class=\"pele-cluster-title\" data-id=\"target\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"344.76\" y=\"1059.51\" text-anchor=\"middle\">Google Cloud: resource administration</text></g><g class=\"pele-cluster-title\" data-id=\"validation\"><text fill=\"none\" stroke=\"color-mix(in srgb,var(--_a) 50%,var(--_bg))\" stroke-width=\"5\" stroke-linejoin=\"round\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text><text class=\"pele-cluster-label\" fill=\"var(--_m)\" x=\"157.61\" y=\"568.6\" text-anchor=\"middle\">Review and pre-deployment validation</text></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_change_0\"><rect x=\"166.61\" y=\"182.5\" width=\"143.37\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"238.29\" y=\"197.9\" text-anchor=\"middle\">Required permissions</text></g><g class=\"pele-edge-label\" data-id=\"L_check_reject_0\"><rect x=\"80.74\" y=\"789.41\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"131.82\" y=\"804.81\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_check_review_0\"><rect x=\"328.7\" y=\"789.41\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"344.76\" y=\"804.81\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_review_resource_0\"><rect x=\"252.82\" y=\"968.41\" width=\"183.88\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"344.76\" y=\"982.31\">Apply through the supported</tspan><tspan x=\"344.76\" y=\"1000.31\">service management API</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_verify_0\"><rect x=\"125.5\" y=\"1250.41\" width=\"181.53\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"216.26\" y=\"1265.81\" text-anchor=\"middle\">Read effective configuration</text></g><g class=\"pele-edge-label\" data-id=\"L_resource_evidence_0\"><rect x=\"370.03\" y=\"1250.41\" width=\"206.45\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1265.81\" text-anchor=\"middle\">Separate audit or evidence path</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_followup_0\"><rect x=\"121.62\" y=\"1687.89\" width=\"102.15\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"172.7\" y=\"1703.29\" text-anchor=\"middle\">No or unknown</text></g><g class=\"pele-edge-label\" data-id=\"L_outcome_accepted_0\"><rect x=\"431.13\" y=\"1687.89\" width=\"32.12\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"447.19\" y=\"1703.29\" text-anchor=\"middle\">Yes</text></g><g class=\"pele-edge-label\" data-id=\"L_evidence_accepted_0\"><rect x=\"390.29\" y=\"1582.65\" width=\"165.93\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"473.26\" y=\"1598.05\" text-anchor=\"middle\">Correlate with test results</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"change\" transform=\"translate(238.29,266)\"><rect x=\"-111.82\" y=\"-33\" width=\"223.65\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Proposed configuration for</tspan><tspan x=\"0\" y=\"16.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"requirement\" transform=\"translate(238.29,401)\"><rect x=\"-117.14\" y=\"-54\" width=\"234.27\" height=\"108\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-25.9\">Enforce Confidential VM</tspan><tspan x=\"0\" y=\"-4.9\">with AMD SEV Memory</tspan><tspan x=\"0\" y=\"16.1\">Encryption for Zero Memory</tspan><tspan x=\"0\" y=\"37.1\">Snooping</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(238.29,104)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-0-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-0-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M6.957 1.3379A2.0133 2.0133 0 0 0 6 1.6074c-.967.5583-1.2985 1.7947-.7402 2.7617L8.498 9.9785H2.0215C.9049 9.9785 0 10.8835 0 12c0 1.1166.905 2.0215 2.0215 2.0215H8.498l-3.2382 5.6094c-.5583.967-.2268 2.2034.7402 2.7617.967.5582 2.2034.2267 2.7617-.7403L12 16.045l3.2383 5.6074c.5583.967 1.7947 1.2985 2.7617.7403.967-.5583 1.2985-1.7947.7402-2.7617l-3.2382-5.6094h6.4765C23.0951 14.0215 24 13.1165 24 12c0-1.1166-.905-2.0215-2.0215-2.0215H15.502l3.2382-5.6094c.5583-.967.2268-2.2034-.7402-2.7617-.967-.5582-2.2034-.2267-2.7617.7403L12 7.955 8.7617 2.3477C8.378 1.6829 7.674 1.3193 6.957 1.3379Zm9.959 1.0058c.1932-.0127.3928.0317.5781.1387.4944.2854.6565.8866.3711 1.3809l-4.1132 7.125h8.2265c.5709 0 1.0117.4408 1.0117 1.0117s-.4408 1.0117-1.0117 1.0117H14.92l-1.168-2.0234-1.168-2.0235 3.5294-6.1113c.1783-.3089.4808-.4885.8027-.5098zm-9.9336.004c.3587-.0093.7081.166.9043.5058l3.5293 6.1113-1.168 2.0235-1.168 2.0234H2.0216c-.5709 0-1.0117-.4408-1.0117-1.0117s.4408-1.0117 1.0117-1.0117h8.2265l-4.1132-7.125c-.2854-.4943-.1233-1.0955.371-1.3809a.9891.9891 0 0 1 .4766-.1347ZM9.666 14.0215h4.668l3.5312 6.1152c.2854.4943.1233 1.0955-.371 1.3809-.4942.2852-1.0956.1231-1.381-.3711L12 14.0254l-4.1133 7.121c-.2853.4943-.8867.6564-1.3808.3712-.4944-.2854-.6565-.8866-.3711-1.3809Z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Applicable IAM and</tspan><tspan x=\"0\" y=\"48.1\">organization controls</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"check\" transform=\"translate(238.29,684.96)\"><polygon points=\"0,-81.95 131.13,0 0,81.96 -131.13,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Service-specific checks</tspan><tspan x=\"0\" y=\"16.1\">pass?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"reject\" transform=\"translate(131.82,872.91)\"><rect x=\"-103.82\" y=\"-33\" width=\"207.63\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Revise configuration; no</tspan><tspan x=\"0\" y=\"16.1\">change applied</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"review\" transform=\"translate(344.76,872.91)\"><rect x=\"-69.13\" y=\"-33\" width=\"138.26\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Owner review:</tspan><tspan x=\"0\" y=\"16.1\">GCP-BP-0161</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(344.76,1140.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-34.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-1-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-1-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" x=\"0\" y=\"37.6\" text-anchor=\"middle\">Compute Engine</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"verify\" transform=\"translate(216.26,1416.91)\"><rect x=\"-117.59\" y=\"-43.5\" width=\"235.18\" height=\"87\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-15.4\">Verify key identity and</tspan><tspan x=\"0\" y=\"5.6\">permitted encrypt or decrypt</tspan><tspan x=\"0\" y=\"26.6\">operations</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"evidence\" transform=\"translate(473.26,1416.91)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-logging\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-logging\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud Logging</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-logging-2-gcp-gcp-logging-grad\">\n      <stop stop-color=\"#188038\" offset=\"0%\"></stop>\n      <stop stop-color=\"#34A853\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-logging-2-gcp-gcp-logging-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Supported Cloud Audit</tspan><tspan x=\"0\" y=\"48.1\">Logs</tspan></text></g><g class=\"pele-node pele-shape-diam\" data-id=\"outcome\" transform=\"translate(216.26,1593.15)\"><polygon points=\"0,-72.24 115.58,0 0,72.24 -115.58,0\" fill=\"var(--_s)\" stroke=\"var(--_b)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Observed behavior</tspan><tspan x=\"0\" y=\"16.1\">matches control?</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"followup\" transform=\"translate(172.7,1771.39)\"><rect x=\"-110.92\" y=\"-33\" width=\"221.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Investigate drift or missing</tspan><tspan x=\"0\" y=\"16.1\">enforcement</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"accepted\" transform=\"translate(456.22,1771.39)\"><rect x=\"-102.92\" y=\"-33\" width=\"205.84\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Record resource scope,</tspan><tspan x=\"0\" y=\"16.1\">result, and evidence</tspan></text></g></g></svg>",
    "developer_guide": {
      "family": "compute",
      "name": "HTTP application with a managed backend",
      "contract": "Listener port, application port, health endpoint and shutdown grace period",
      "dependencies": [
        "An application artifact and a supported compute runtime",
        "A configured listener or load balancer",
        "A database or API endpoint and a runtime identity"
      ],
      "steps": [
        "Deploy the artifact and configure environment variables and identity.",
        "Connect listener routing to the actual application port.",
        "Configure readiness, timeouts and graceful shutdown before shifting traffic."
      ],
      "tests": [
        "Call the health route and a real application route.",
        "Replace one instance and verify traffic is drained without failed writes."
      ],
      "failures": [
        "502/503: verify target health, listening address and backend port.",
        "Backend failure: check connection limits, credentials and outbound reachability."
      ],
      "diagnostics": "gcloud config get-value project\n: \"${PROJECT_ID:?Set PROJECT_ID to your test project}\"\ngcloud logging read 'severity>=ERROR' --project=\"$PROJECT_ID\" --limit=10 --format=json",
      "scope": "Reference integration pattern. Provision and configure the named dependencies separately; the companion catalog snippets are not a complete application deployment."
    }
  },
  {
    "id": "GCP-BP-0162",
    "title": "Eliminate Direct External Public IPs on Compute Instances in Production VPCs (Tier-7 • Profile G)",
    "category": "gcp-gce",
    "category_name": "Compute Engine & Shielded VM Hardening",
    "service": "Compute Engine",
    "icon_url": "/images/gcp-icons/gcp-gce.svg",
    "pillar": "Reliability",
    "severity": "High",
    "compliance": [
      "CIS Google Cloud Platform Foundation Benchmark v3.0",
      "NIST SP 800-53 SC-13",
      "PCI-DSS v4.0 Req 3.4",
      "SOC 2 CC6.1"
    ],
    "description": "HTTP application with a managed backend for Compute Engine. Integration contract: Listener port, application port, health endpoint and shutdown grace period. Control: Eliminate Direct External Public IPs on Compute Instances in Production VPCs.",
    "mermaid": "flowchart TB\n  client[\"Application client\"]\n  listener[\"Configured HTTP listener or load balancer\"]\n  resource@{ icon: \"logos:gcp-gce\", label: \"Application runtime: Compute Engine\", h: 64, pos: \"b\" }\n  backend[\"Configured database or API dependency\"]\n  identity@{ icon: \"logos:gcp-iam\", label: \"Workload identity with a scoped IAM grant\", h: 64, pos: \"b\" }\n  control[\"Eliminate Direct External Public IPs on Compute Instances in Production VPCs\"]\n  identity -.->|Credential and permission dependency| resource\n  client -->|HTTPS request| listener\n  listener -->|Configured application port and health route| resource\n  resource -->|Scoped driver or SDK operation| backend\n  control -.->|Implementation requirement| resource",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"pele pele-flowchart\" viewBox=\"0 0 720 588\" width=\"720\" height=\"588\" style=\"max-width:100%;height:auto;--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg);--_r:var(--pele-radius,4px);--_fm:var(--pele-font-mono,monospace);font:16px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,sans-serif)\" fill=\"var(--_fg)\" role=\"graphics-document document\" aria-roledescription=\"flowchart\"><g class=\"pele-edges\" fill=\"none\" stroke=\"var(--_l)\" stroke-linecap=\"round\"><g class=\"pele-edge\" data-id=\"L_identity_resource_0\"><path d=\"M371.64,241L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_client_listener_0\"><path d=\"M125.58,56L125.58,145\"/><path class=\"pele-marker\" d=\"M125.58,152L122.22,144L128.94,144Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_listener_resource_0\"><path d=\"M125.58,218L125.58,301.5C125.58,305.34 371.64,313.03 371.64,316.88L371.64,322\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_resource_backend_0\"><path d=\"M371.64,441L371.64,507\"/><path class=\"pele-marker\" d=\"M371.64,514L368.28,506L375,506Z\" fill=\"var(--_l)\" stroke=\"none\"/></g><g class=\"pele-edge\" data-id=\"L_control_resource_0\"><path d=\"M605.69,239L605.69,301.5C605.69,305.54 371.64,312.83 371.64,316.88L371.64,322\" stroke-dasharray=\"3 4\"/><path class=\"pele-marker\" d=\"M371.64,329L368.28,321L375,321Z\" fill=\"var(--_l)\" stroke=\"none\"/></g></g><g class=\"pele-edge-labels\" font-size=\"14\"><g class=\"pele-edge-label\" data-id=\"L_identity_resource_0\"><rect x=\"286.33\" y=\"263.5\" width=\"170.61\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"371.64\" y=\"277.4\">Credential and permission</tspan><tspan x=\"371.64\" y=\"295.4\">dependency</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_client_listener_0\"><rect x=\"73.35\" y=\"78.5\" width=\"104.47\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"125.58\" y=\"93.9\" text-anchor=\"middle\">HTTPS request</text></g><g class=\"pele-edge-label\" data-id=\"L_listener_resource_0\"><rect x=\"24.31\" y=\"263.5\" width=\"202.54\" height=\"36\" rx=\"3\" fill=\"var(--_bg)\"/><text text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"125.58\" y=\"277.4\">Configured application port and</tspan><tspan x=\"125.58\" y=\"295.4\">health route</tspan></text></g><g class=\"pele-edge-label\" data-id=\"L_resource_backend_0\"><rect x=\"268.82\" y=\"463.5\" width=\"205.64\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"371.64\" y=\"478.9\" text-anchor=\"middle\">Scoped driver or SDK operation</text></g><g class=\"pele-edge-label\" data-id=\"L_control_resource_0\"><rect x=\"514.54\" y=\"271\" width=\"182.29\" height=\"21\" rx=\"3\" fill=\"var(--_bg)\"/><text x=\"605.69\" y=\"286.4\" text-anchor=\"middle\">Implementation requirement</text></g></g><g class=\"pele-nodes\"><g class=\"pele-node pele-shape-rect\" data-id=\"client\" transform=\"translate(125.58,32)\"><rect x=\"-78.02\" y=\"-24\" width=\"156.05\" height=\"48\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" x=\"0\" y=\"5.6\" text-anchor=\"middle\">Application client</text></g><g class=\"pele-node pele-shape-rect\" data-id=\"listener\" transform=\"translate(125.58,185)\"><rect x=\"-117.58\" y=\"-33\" width=\"235.17\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured HTTP listener or</tspan><tspan x=\"0\" y=\"16.1\">load balancer</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"resource\" transform=\"translate(371.64,385)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-gce\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-gce\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Compute Engine</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-gce-0-gcp-gcp-gce-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-gce-0-gcp-gcp-gce-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transform=\"translate(8, 8)\" fill=\"#FFFFFF\">\n      <path d=\"M12.19 2.38a9.344 9.344 0 0 0-9.234 6.893c.053-.02-.055.013 0 0-3.875 2.551-3.922 8.11-.247 10.941l.006-.007-.007.03a6.717 6.717 0 0 0 4.077 1.356h5.173l.03.03h5.192c6.687.053 9.376-8.605 3.835-12.35a9.365 9.365 0 0 0-2.821-4.552l-.043.043.006-.05A9.344 9.344 0 0 0 12.19 2.38zm-.358 4.146c1.244-.04 2.518.368 3.486 1.15a5.186 5.186 0 0 1 1.862 4.078v.518c3.53-.07 3.53 5.262 0 5.193h-5.193l-.008.009v-.04H6.785a2.59 2.59 0 0 1-1.067-.23h.001a2.597 2.597 0 1 1 3.437-3.437l3.013-3.012A6.747 6.747 0 0 0 8.11 8.24c.018-.01.04-.026.054-.023a5.186 5.186 0 0 1 3.67-1.69z\" transform=\"scale(1)\"></path>\n    </g>\n  </g>\n</svg>\n</g></svg><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"27.1\">Application runtime:</tspan><tspan x=\"0\" y=\"48.1\">Compute Engine</tspan></text></g><g class=\"pele-node pele-shape-rect\" data-id=\"backend\" transform=\"translate(371.64,547)\"><rect x=\"-116.72\" y=\"-33\" width=\"233.44\" height=\"66\" fill=\"var(--_s)\" stroke=\"var(--_b)\" style=\"rx:var(--_r)\"/><text class=\"pele-label\" text-anchor=\"middle\" xml:space=\"preserve\"><tspan x=\"0\" y=\"-4.9\">Configured database or API</tspan><tspan x=\"0\" y=\"16.1\">dependency</tspan></text></g><g class=\"pele-node pele-shape-icon\" data-id=\"identity\" transform=\"translate(371.64,185)\"><svg class=\"pele-icon\" data-icon=\"logos:gcp-iam\" x=\"-19.2\" y=\"-43.2\" width=\"38.4\" height=\"38.4\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-service-logo=\"gcp-iam\" transform=\"scale(0.6)\" fill=\"currentColor\" stroke=\"none\"><svg width=\"40px\" height=\"40px\" viewBox=\"0 0 40 40\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n  <title>Cloud IAM & Identity</title>\n  <defs>\n    <linearGradient x1=\"0%\" y1=\"100%\" x2=\"100%\" y2=\"0%\" id=\"gcp-gcp-iam-1-gcp-gcp-iam-grad\">\n      <stop stop-color=\"#1A73E8\" offset=\"0%\"></stop>\n      <stop stop-color=\"#4285F4\" offset=\"100%\"></stop>\n    </linearGradient>\n  </defs>\n  <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n    <rect fill=\"url(#gcp-gcp-iam-1-gcp-gcp-iam-grad)\" x=\"0\" y=\"0\" width=\"40\" height=\"40\" rx=\"8\"></rect>\n    <g transfor