Generated banner for Assuredworkloads Environment Assessor
Generated logo for Assuredworkloads Environment Assessor

Assuredworkloads Environment Assessor

GoogleOfficialPublished by Google

  • Skill
  • Research and analysis
  • Security
  • Apache-2.0
  • Low risk
  • Has scripts

From the author

Discover Google Cloud resource telemetry and effective Org Policies, evaluate brownfield workloads against sovereign data boundary and compliance standards (EU Data Boundary with Support, FedRAMP Moderate/High, DoD IL4/IL5, ITAR, CJIS, US/EU Regional Data Boundaries), and recommend the optimal Assured Workloads Framework. Use when asked to: "assess my environment for compliance", "which Assured Workloads framework should I use?", "check if my folder is ready for EU sovereignty", "evaluate compliance posture for folders/123 or projects/xyz", or "discover compliance gaps before deployment". Do NOT use for live mutating policy deployments, generating deep audit reports via Cloud Audit Manager, generating remediation scripts, or authoring custom Assured Workloads frameworks.
— the description by Google

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The Assured Workloads Environment Assessor is a read-only tool designed to evaluate existing Google Cloud folders and projects against various compliance standards. It performs non-mutating discovery of resource telemetry and effective organization policies to determine how well a workload aligns with specific Assured Workloads frameworks. The tool provides a quantitative scorecard and actionable recommendations for transitioning workloads into Monitoring or Preventive modes, helping users identify potential compliance gaps without altering their current infrastructure.

What it does

  • Discovers resource telemetry and effective organization policies across folders and projects.
  • Evaluates brownfield workloads against sovereign data boundaries and compliance standards.
  • Recommends the most suitable Assured Workloads framework based on active resource footprints.
  • Provides a quantitative scorecard assessing location residency, service usage, and CMEK readiness.
  • Generates an executive assessment report using the Minto Pyramid Principle.
  • Identifies potential compliance drift indicators without performing live policy mutations.

When to use it

  • When you need to assess an existing environment for compliance readiness.
  • When you are unsure which Assured Workloads framework is appropriate for your specific regulatory needs.
  • When you want to discover compliance gaps before deploying new workloads.
  • When you need to check if a folder is prepared for specific sovereignty requirements like EU data boundaries.

Advantages

  • Zero-risk, non-mutating assessment that does not alter existing organization policies.
  • Provides clear, data-driven recommendations for framework selection.
  • Supports continuous observability through Monitoring (Detective) mode.
  • Helps avoid production outages by identifying readiness gaps before enforcing preventive controls.
  • Zero-cost assessment using standard read-only Google Cloud APIs.

Usage examples

“Assess my environment for compliance in folders/123.”
The agent will scan the folder, analyze effective policies, and provide a report on compliance posture and recommended frameworks.
“Which Assured Workloads framework should I use for my project in us-central1?”
The agent will evaluate the project's resource footprint and suggest frameworks like FedRAMP or US Data Boundary based on the region and service usage.
“Check if my folder is ready for EU sovereignty.”
The agent will analyze the folder's current resource locations and policies to determine alignment with EU Data Boundary frameworks.
“Discover compliance gaps for projects/xyz before deployment.”
The agent will perform a pre-flight check against relevant controls and highlight potential drift indicators that should be addressed.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/google/assuredworkloads-environment-assessor/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip assuredworkloads-environment-assessor.zip -d .agents/skills

Documentation by Google

Compliance Environment Assessor Skill

This skill performs zero-risk, non-mutating compliance discovery, physical telemetry profiling, and data boundary framework recommendation across Google Cloud Folders (folders/{folder_id}) and Projects (projects/{project_id}).

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Safety & Execution Tier (CRITICAL)

  • Tier R (Strictly Read-Only): All discovery operations execute read-only queries (gcloud asset search-all-resources, gcloud compliance-manager frameworks list, gcloud compliance-manager cloud-controls describe, and gcloud org-policies describe --effective). You MUST NEVER execute mutating commands (gcloud compliance-manager framework-deployments create, gcloud org-policies set-policy, or gcloud resource-manager ...).


Grounding Guardrails: Google Cloud & Assured Workloads Precedence (CRITICAL)

To prevent hallucinations, incorrect compliance assessments, and false blockers derived from generic LLM pre-training, the agent is governed by strict Grounding Guardrails:

  1. Strict Prohibition on Generic LLM Pre-Training Priors:

    • You MUST NOT derive compliance rules, API semantics, or deployment constraints from generic web pre-training (e.g., generic NIST/FedRAMP certification audit checklists, AWS/Azure architectures, or legacy on-prem IT auditor mindsets).

    • In traditional IT audits, non-compliance is a binary go/no-go gate that blocks deployment. In Google Cloud Assured Workloads, deploying in Monitoring (Detective) mode enables detective controls without mutating existing Organization Policies, allowing continuous observability without halting Day 0 rollout. You MUST NOT confuse these paradigms.

  2. Authoritative Assured Workloads Scope & Deployment Grounding:

    • Assured Workloads binds compliance frameworks directly to existing or new Google Cloud folders (folders/...) and projects (projects/...).

    • Existing Workloads (Folders or Projects): Recommend deploying in Monitoring (Detective) mode first to assess and remediate findings safely without mutating existing Organization Policies, and then transitioning to Preventive mode.

    • New Workloads (Folders or Projects): Recommend starting in Preventive mode or Monitoring (Detective) mode.

    • Google Cloud Console Deployment: Always guide the user to deploy the recommended framework via the Assured Workloads Frameworks tab in Google Cloud Console (https://console.cloud.google.com/compliance/configure/frameworks?organizationId=ORGANIZATION_ID). Do NOT recommend gcloud assured workloads create (which only provisions new greenfield folders using legacy regime enums and cannot bind frameworks to existing folders or projects).

  3. Client-Side Org Policy Readiness vs. Server-Side CES Boundary:

    • Client-Side Scope: Pre-flight evaluation via scripts/evaluate_control_rules.py assesses ONLY the 3 high-confidence Organization Policy parameter sets bound in Framework.cloudControlDetails[].parameters:

      1. Resource Locations (builtin-restrict-resource-locations / constraints/gcp.resourceLocations)

      2. Service Usage Restrictions / SUR (builtin-enforce-service-usage-restrictions / constraints/gcp.restrictServiceUsage)

      3. CMEK Encryption Requirements (builtin-require-cmek / constraints/gcp.restrictNonCmekServices)

    • Server-Side CES Scope: Complex Continuous Evaluation Service (ces_rule) and REST API rules (rest_api_measurement) are evaluated server-side by the Continuous Evaluation Service (CES) after the framework is deployed.

    • Terminology Invariant: You MUST frame client-side findings as Pre-Flight Org Policy Readiness Recommendations / Potential Drift Indicators (orgPolicyDriftIndicators), NEVER as definitive compliance "violations" or "deployment blockers" that could contradict an actual post-deployment CES run.

  4. Static Built-In Catalog, Session Caching, Support Routing & KAJ Flow:

    • Built-in Frameworks (type: BUILT_IN) returned by gcloud compliance-manager frameworks list are static configurations uniform across organizations. Fetch frameworks.json once per session and reuse the cached file across all candidate evaluations and follow-up queries.

    • Personnel Support Model: Determine whether a framework requires a Paid Sovereign/Regulated Support Subscription or uses Standard Commercial Support ($0 support uplift) from the framework's public displayName and description in frameworks.json:

      • Paid Sovereign/Regulated Support Subscription: Frameworks whose description specifies support personnel access controls (e.g., "Support access controls are set to ...", -and-support variants such as builtin-eu-data-boundary-and-support and builtin-us-data-boundary-and-support, or regulated standards such as builtin-il4, builtin-il5, builtin-itar, builtin-fedramp-high, builtin-cjis).

      • Standard Commercial Support ($0 support uplift): Regional-only Data Boundary frameworks whose description sets data location controls only without a support access controls clause (e.g., builtin-us-data-boundary, builtin-eu-data-boundary, builtin-uk-data-boundary, builtin-japan-data-boundary).

      • Important: Do NOT use the mere presence of builtin-restrict-technical-support-services in cloudControlDetails as a discriminator, because both regional-only and paid-support Data Boundary frameworks include that control.

    • Key Access Justifications (KAJ) & EKM: Recommend -with-access-justifications framework variants only when the customer explicitly requests KAJ/EKM, or when disambiguating between matching regional variants in frameworks.json.

  5. Deterministic Tool Gating:

    • You MUST NOT guess compatibility scores ($$S_{\text{composite}}$$) or resource inventories.

    • You MUST execute scripts/evaluate_control_rules.py with --frameworks-file=frameworks.json.

Prerequisites

Before executing environment assessment, ensure your local or Cloud Shell environment meets the following prerequisites:

  1. Google Cloud SDK:

  2. Project Setup & Target Selection:

    • Select or configure an administrative project for running assessment queries:

      gcloud config set project PROJECT_ID
  3. Region Configuration & Availability:

    • Configure a well-supported default region (e.g. us-central1):

      gcloud config set compute/region us-central1
    • Consult official region availability documentation: Google Cloud Locations.

  4. Required API Enablement:

    • Enable the required Google Cloud APIs on the administrative project:

      gcloud services enable \
        cloudasset.googleapis.com \
        orgpolicy.googleapis.com \
        assuredworkloads.googleapis.com \
        cloudsecuritycompliance.googleapis.com
  5. Authentication Setup:

    • Authenticate your user or service account identity and establish application default credentials:

      gcloud auth login
      gcloud auth application-default login
  6. Billing & Quota Project Setup (Zero Billing Impact):

    • Zero-Cost Assessment Guarantee: Running this assessment incurs $0 in Google Cloud infrastructure and API billing charges. All discovery operations (gcloud asset search-all-resources, gcloud compliance-manager frameworks list, and gcloud org-policies describe --effective) are free read-only metadata queries.

    • Quota Project Requirement: Google Cloud Service Infrastructure requires an administrative project with an active Cloud Billing account attached to allocate API rate limits and meter service usage (sent via the X-Goog-User-Project header), even for free APIs.

    • Pre-Flight Verification:

      # 1. Verify active Cloud Billing account is attached to administrative project
      gcloud billing projects describe PROJECT_ID --format="value(billingEnabled)"
      
      # 2. If using a shared project, ensure your user identity has permission to consume project quota
      gcloud projects add-iam-policy-binding PROJECT_ID \
        --member="user:USER_EMAIL" \
        --role="roles/serviceusage.serviceUsageConsumer"
      
      # 3. Synchronize Application Default Credentials quota project
      gcloud auth application-default set-quota-project PROJECT_ID
  7. Commands & Payloads Reference:


Step-by-Step Operating Workflow

Step 1: Ingest Scope & Resolve Organization ID
  1. Accept or prompt for the target scope (folders/{folder_id} or projects/{project_id}). If the user provides an open-ended scope without stating a regulatory regime, DO NOT block on broad questionnaires. Proceed immediately to ingest telemetry.

  2. Automatically resolve the parent Organization ID from the scope to drive downstream catalog queries:

    • For Folders:

      gcloud resource-manager folders describe FOLDER_ID --format="value(parent)"

      (If the parent is another folder, traverse up ancestors until organizations/{org_id} is found)

    • For Projects:

      gcloud projects get-ancestors PROJECT_ID --format="value(id,type)"
Step 2: Ingest Asset Telemetry & Effective Org Policies via Two-Pass Telescoping Protocol

To guarantee 100% coverage across the scope hierarchy while keeping payloads compact, telemetry ingestion executes in two telescoping passes (see Google Cloud CLI Commands Reference):

  1. Pass 1: Macro Footprint & API Enumeration (100% Scope Coverage):

    gcloud asset search-all-resources \
      --scope="folders/FOLDER_ID" \
      --page-size=500 \
      --format="json(name,assetType,location)" > macro_telemetry.json
    • Pagination & Scope Semantics: --page-size=500 fetches 500 cloud assets per HTTP API page (the maximum batch size permitted by Cloud Asset Inventory), automatically paginating through all assets strictly inside folders/FOLDER_ID and its descendant projects.

    • Full Location & SUR Coverage: macro_telemetry.json captures 100% of active location and assetType values required to evaluate both builtin-restrict-resource-locations (allowedLocations) and builtin-enforce-service-usage-restrictions (allowedServices / SUR).

    • If PERMISSION_DENIED is returned:

      • If the error states USER_PROJECT_DENIED or references roles/serviceusage.serviceUsageConsumer, the error is on the administrative quota project (it lacks an attached billing account or caller lacks serviceUsageConsumer). Follow the Quota Project Recovery playbook and stop running further commands.

      • If the error references the target scope (folders/... or projects/...), HALT ALL TOOL CALLS IMMEDIATELY (do not run Step 2.2, Step 3, or any further commands) and inform the user they require roles/cloudasset.viewer and roles/orgpolicy.policyViewer on that scope.

    • If 0 resources are returned, inform the user the target scope is empty.

  2. Inspect Effective Universal Org Policies on Scope (38/38 Frameworks):

    gcloud org-policies describe gcp.resourceLocations \
      --folder=FOLDER_ID \
      --effective \
      --format="json(name,spec.rules)" > effective_locations.json
    
    gcloud org-policies describe gcp.restrictServiceUsage \
      --folder=FOLDER_ID \
      --effective \
      --format="json(name,spec.rules)" > effective_services.json
    
    gcloud org-policies describe gcp.restrictTLSVersion \
      --folder=FOLDER_ID \
      --effective \
      --format="json(name,spec.rules)" > effective_tls.json
Step 3: Fetch & Cache Built-In Framework Catalog and Filter by Location + SUR
  1. Fetch & Cache Built-In Framework Catalog (with Bound Parameters):

    if [ ! -s frameworks.json ]; then
      gcloud compliance-manager frameworks list \
        --organization=ORGANIZATION_ID \
        --location=global \
        --filter="category:ASSURED_WORKLOADS" \
        --format="json(name,majorRevisionId,displayName,description,category,cloudControlDetails)" > frameworks.json
    fi
    • Session Caching: Because built-in ASSURED_WORKLOADS frameworks are static definitions uniform across organizations, cache the output in frameworks.json and reuse it for all candidate evaluations and follow-up questions.

  2. Filter Candidates by Location + SUR Footprint & Clarify Intent:

    • Exclude location-less control-plane management metadata (cloudresourcemanager.googleapis.com/*, orgpolicy.googleapis.com/*, cloudasset.googleapis.com/*, accesscontextmanager.googleapis.com/*, and location: "global" hierarchy nodes) from data-plane location checks.

    • Match active data-plane regions (location) and active service prefixes (assetType) from macro_telemetry.json against each framework's builtin-restrict-resource-locations (allowedLocations) and builtin-enforce-service-usage-restrictions (allowedServices / SUR) parameters in frameworks.json:

      • US-Only Regions (us-central1, us-east4): Candidates include DoD IL5 (builtin-il5, adjudicated support), ITAR (builtin-itar, US persons support), FedRAMP High/Moderate, or US Regional Data Boundary (builtin-us-data-boundary, standard commercial support).

      • EU-Only Regions (europe-west3, europe-west1): Candidates include EU Data Boundary and Support (builtin-eu-data-boundary-and-support) vs. standard EU Regional Boundary (builtin-eu-data-boundary).

    • Targeted Disambiguation:

      • If multiple frameworks match the physical footprint and user regulatory intent is unstated (e.g., an open-ended request with no regime specified), DO NOT finalize a single primary recommendation yet — present the matching candidate frameworks and STOP to ask the user a targeted clarifying question about their regulatory intent (e.g., EU Sovereignty, US FedRAMP/IL5) and personnel support model (Standard Commercial Support vs. Paid Sovereign/Regulated Support).

      • Recommend -with-access-justifications (KAJ/EKM) framework variants only if the customer explicitly asks for KAJ/EKM or when disambiguating between matching regional variants.

      • Out-of-Scope / Non-Catalog Compliance Standards (e.g., CMMC, UK GDPR): If the user asks to evaluate a compliance standard or legal certification that is not present as a built-in ASSURED_WORKLOADS framework in frameworks.json (such as CMMC, UK GDPR, SOC 2, or PCI-DSS), DO NOT fabricate or pass non-existent framework IDs (e.g., builtin-cmmc or builtin-uk-gdpr) to evaluate_control_rules.py. Explicitly state that the requested standard is not a standalone Assured Workloads Data Boundary framework, explain the catalog scope boundary (Data Boundary enforces regional data residency, SUR, CMEK, and sovereign support routing rather than legal privacy or third-party certification audits), and offer the closest adjacent ASSURED_WORKLOADS frameworks from frameworks.json that match their active regional footprint (e.g., builtin-il5 or builtin-fedramp-high for US defense/CUI workloads, or builtin-eu-data-boundary-and-support / builtin-eu-data-boundary / builtin-uk-data-boundary for European/UK regional residency).

Step 4: Conditional Pass 2 CMEK Ingestion & Org Policy Evaluation
  1. Pass 2: Conditional Targeted Deep Ingestion for CMEK Resource Types: Derive TARGET_TYPES (the intersection of active CAI assetTypes in macro_telemetry.json and CMEK-governed services in builtin-require-cmek from frameworks.json). Only 6 of the 38 Data Boundary frameworks include builtin-require-cmek; if TARGET_TYPES is non-empty, fetch kmsKeys:

    TARGET_TYPES=$(python3 scripts/evaluate_control_rules.py \
      --get-target-asset-types \
      --framework=FRAMEWORK_ID \
      --telemetry-file=macro_telemetry.json \
      --frameworks-file=frameworks.json)
    
    if [ -n "${TARGET_TYPES}" ]; then
      gcloud asset search-all-resources \
        --scope="folders/FOLDER_ID" \
        --asset-types="${TARGET_TYPES}" \
        --page-size=500 \
        --format="json(name,assetType,location,kmsKeys)" > deep_telemetry.json
    fi
  2. Execute High-Confidence Org Policy Evaluator: Run scripts/evaluate_control_rules.py over macro_telemetry.json (and optional deep_telemetry.json) with frameworks.json to compute the 3 quantitative scores (locationScore, serviceScore, cmekScore, compositeScore) and orgPolicyDriftIndicators (when cmekRequired is false, always display the CMEK Readiness column as N/A in the scorecard):

    python3 scripts/evaluate_control_rules.py \
      --telemetry-file=macro_telemetry.json \
      --deep-telemetry-file=deep_telemetry.json \
      --framework=FRAMEWORK_ID \
      --frameworks-file=frameworks.json
  3. Evaluate Operational & Governance Impact:

    • Review cloudControlDetails in frameworks.json for parameterized and operational controls (builtin-restrict-kms-protection-levels, builtin-enforce-allowed-cmek-crypto-key-projects, builtin-restrict-cloud-function-generations, builtin-restrict-cloudstorage-auth-types, builtin-iam-disable-service-account-key-creation, builtin-disable-ssh-in-browser, builtin-enable-axt, and *-regulatory-settings controls like builtin-cloud-logging-regulatory-settings) and summarize their workflow impact in the final report.

Step 5: Render Executive Assessment Report (Minto Pyramid Structure)

Present an executive report structured around the Minto Pyramid Principle (Bottom Line Up Front -> Core Value Pillars -> Supporting Evidence -> Action Plan):

# Compliance Environment Assessment Report: [Scope URI]

## 1. Executive Conclusion & Recommendation (Bottom Line Up Front)
* **Primary Recommendation**: [Framework Name] (`organizations/{org_id}/locations/global/frameworks/{framework_id}`)
* **Org Policy Readiness Alignment**: [Composite Fit %]
* **Recommended Deployment Mode**:
  * **Existing Workloads (Folders or Projects)**: Deploy in **Monitoring (`Detective`) mode** first, then transition to **Preventive** mode after remediating findings.
  * **New Workloads (Folders or Projects)**: Start in **Preventive** mode or **Monitoring (`Detective`) mode**.
  * **Zero Production Outage Risk**: Monitoring (`Detective`) mode mutates zero Organization Policies on Day 0.
  * **Continuous Server-Side CES Observability**: Activates real-time Continuous Evaluation Service (CES) monitoring across all framework controls.
  * **No Migration Required**: Protects existing folders and projects in-place without migrating resources.

---

## 2. Core Value Drivers: Why Assured Workloads Fits This Scope
1. **Residency & Boundary Alignment (`gcp.resourceLocations`)**: Active regional workloads are evaluated against allowed regions ([e.g. 100% US-contained]).
2. **Service & API Compatibility (`gcp.restrictServiceUsage` / SUR)**: Active service APIs are evaluated against accredited service allowlists ([e.g. 100% approved services]).
3. **Non-Disruptive Posture Hardening**: Enrolling existing workloads in Monitoring (`Detective`) mode provides server-side CES posture evaluation while allowing your team to triage Org Policy readiness safely before moving to Preventive mode.

---

## 3. Objective Assessment Scorecard & Org Policy Readiness Triage

### Quantitative Org Policy Readiness Scorecard
| Candidate Framework | Location Residency (`locationScore`) | Service Usage / SUR (`serviceScore`) | CMEK Readiness (`cmekScore`) | Composite Alignment | Personnel Support Model |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **[Framework 1]** | [XX%] | [XX%] | [XX% or N/A] | **[XX%]** | [Support Model] |
| **[Framework 2]** | [XX%] | [XX%] | [XX% or N/A] | **[XX%]** | [Support Model] |

### Active Resource & Effective Org Policy Baseline
* **Discovered Inventory**: [Total Assets count] across [Active resource types and regions].
* **Effective Org Policy Baseline**: [Effective `gcp.resourceLocations`, `gcp.restrictServiceUsage`, and `gcp.restrictTLSVersion` posture].

### Pre-Flight Org Policy Readiness Recommendations (Prior to Preventive Mode)
*Pre-flight drift indicators do NOT block Day 0 deployment in Monitoring (`Detective`) mode. Address these prior to enabling Preventive policy enforcement (authoritative CES and REST control evaluations run server-side after deployment):*
* **[Priority 1]**: [e.g. Configure CMEK keys on unencrypted resources before toggling `builtin-require-cmek` to `PREVENTIVE`].
* **[Priority 2]**: [e.g. Operational impact of bound controls such as `builtin-restrict-kms-protection-levels` or `builtin-cloud-logging-regulatory-settings`].

---

## 4. Deployment Action Plan & Commercial Advisory

### Deploy via Google Cloud Console — Assured Workloads Frameworks Tab (Recommended)
Review and deploy the recommended framework directly in the Google Cloud Console **Assured Workloads -> Frameworks** tab:
👉 **[Open Assured Workloads Frameworks Console](https://console.cloud.google.com/compliance/configure/frameworks?organizationId=ORGANIZATION_ID)**
* **Existing Workloads (Folders or Projects)**: Deploy in **Monitoring (`Detective`) mode** to evaluate posture and remediate findings with zero Day 0 Organization Policy mutations, then transition to **Preventive** mode.
* **New Workloads (Folders or Projects)**: Start directly in **Preventive** mode or in **Monitoring (`Detective`) mode**.

### Commercial & Licensing Advisory
* Assured Workloads compliance regimes may carry support routing or licensing entitlements depending on whether the framework enforces regional data location controls only (standard commercial support, $0 support uplift) or specifies support personnel access controls in its `displayName` and `description` (paid sovereign/regulated support).
* Review full pricing details and entitlement tiers at: https://cloud.google.com/assured-workloads/pricing
Step 6: Handling Customer Follow-Up Questions on Specific Services

When a customer follows up with a specific question about how a recommended or candidate framework affects a particular Google Cloud service (e.g., Cloud Run, Cloud Storage, Spanner, GKE, Cloud SQL, Vertex AI, Cloud Logging):

  1. Inspect Cached frameworks.json Locally (or Fetch via Step 3 frameworks list if Not Cached):

    • If frameworks.json is not yet present in the current working directory, run the Step 3 gcloud compliance-manager frameworks list command first to populate frameworks.json.

    • Check whether <service>.googleapis.com is permitted in builtin-enforce-service-usage-restrictions (allowedServices) and whether CMEK is required in builtin-require-cmek (services).

    • Identify all service-specific cloudControlDetails[].name entries bound in that framework (e.g., builtin-run-disable-ephemeral-disk, builtin-restrict-cloudstorage-auth-types, builtin-disable-spanner-multi-region, builtin-cloud-logging-regulatory-settings) and any bound parameters.

  2. Fetch Authoritative Control Details On Demand:

    • Because Framework.cloudControlDetails omits control descriptions, enforcement modes, and remediation steps, run cloud-controls describe for the relevant control ID(s):

      gcloud compliance-manager cloud-controls describe CONTROL_ID \
        --organization=ORGANIZATION_ID \
        --location=global \
        --format="json(name,displayName,description,supportedEnforcementModes,remediationSteps,parameterSpec)"
    • Extract the exact underlying Organization Policy constraint (e.g., run.managed.disableEphemeralDisk, storage.restrictAuthTypes), supportedEnforcementModes (PREVENTIVE vs. DETECTIVE), and remediationSteps from the response.

  3. Check Effective Folder/Project Policy If Requested:

    • If the customer asks whether their folder already enforces that service-specific Org Policy constraint, run:

      gcloud org-policies describe CONSTRAINT_NAME \
        --folder=FOLDER_ID \
        --effective \
        --format="json(name,spec.rules)"

Failure Modes & Error Recovery Playbook

Error ConditionImmediate ActionUser Recovery Guidance
USER_PROJECT_DENIED or serviceusage.serviceUsageConsumerHALT discovery. Do not confuse with target scope permissions. Check administrative project billing status and caller quota permissions."The administrative project PROJECT_ID cannot be used for API quota. 1) Verify a Cloud Billing account is attached (gcloud billing projects describe PROJECT_ID), 2) Grant roles/serviceusage.serviceUsageConsumer on PROJECT_ID to your identity, or 3) Switch to a project you own: gcloud config set project <PROJECT_ID>."
PERMISSION_DENIED on CAISHALT discovery immediately. Do not speculate or guess resources."To analyze this environment, grant roles/cloudasset.viewer on folders/123 to your active identity."
PERMISSION_DENIED on Org PoliciesHALT policy inspection. Do not guess effective constraints."To inspect effective organization policies, grant roles/orgpolicy.policyViewer on folders/123."
Empty Scope (0 Resources)HALT evaluation. Inform user the scope contains no active assets."No active resources found in folders/123. Provision resources or select an active scope."
Conflicting Regulatory IntentEngage user in focused clarification probe.Present distinct requirements (e.g. DoD IL5 Adjudicated Support vs. ITAR US Persons) and ask for business requirement.
Zero Catalog MatchDetail multi-regional drift indicator.Explain why single-region sovereign data boundary frameworks were ruled out (e.g. multi-continental resource footprint spanning unapproved regions).
Out-of-Scope / Non-Catalog Standard (e.g., CMMC, UK GDPR)Do not invent framework IDs (builtin-cmmc, builtin-uk-gdpr). Explain catalog boundary and map to adjacent ASSURED_WORKLOADS candidates."Assured Workloads does not include a standalone [CMMC / UK GDPR] framework in frameworks.json. However, based on your active resources, we can evaluate an adjacent Assured Workloads Data Boundary framework such as builtin-il5 / builtin-fedramp-high (for US defense/federal workloads) or builtin-eu-data-boundary-and-support / builtin-uk-data-boundary (for European/UK regional residency)."

Files

LICENSE


                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs a command-line tool, Needs Python

Security

What our scanner noticed· Low risk

  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google
Publisher
Google (Official)
Source
google/skills · skills/cloud/assuredworkloads-environment-assessor · commit 2194d3b
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download assuredworkloads-environment-assessor.zip