Home / Market / assuredworkloads environment assessor

assuredworkloads environment assessor

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 compli

skill★ 255770 dlgithubApache-2.0Install in CosmosUpstream Source

Documentation & Preview

--- name: assuredworkloads-environment-assessor metadata: version: "1.0.0" category: SecurityAndCompliance description: >- 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.

---

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}).

Safety & Execution Tier (CRITICAL)

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:

blocks deployment. In Google Cloud Assured Workloads v2, Monitor Mode deploys detective controls without mutating existing Organization Policies, allowing continuous observability without halting Day 0 rollout. You MUST NOT confuse these paradigms.

  1. Authoritative Google Cloud API Contracts & Scope Grounding:
  1. Client-Side Org Policy Readiness vs. Server-Side CES Boundary:

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)

  1. Service Usage Restrictions / SUR

(builtin-enforce-service-usage-restrictions / constraints/gcp.restrictServiceUsage)

  1. CMEK Encryption Requirements (builtin-require-cmek /

constraints/gcp.restrictNonCmekServices)

(ces_rule) and REST API rules (rest_api_measurement) are evaluated

server-side by the Continuous Evaluation Service (CES) after the framework is deployed.

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.

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

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.

Sovereign/Regulated Support Subscription when builtin-restrict-technical-support-services is present in its cloudControlDetails (as reflected in its displayName and description). Frameworks without builtin-restrict-technical-support-services (e.g., builtin-us-data-boundary, builtin-eu-data-boundary) use Standard Commercial Support** ($0 support uplift).

-with-access-justifications framework variants only when the customer

explicitly requests KAJ/EKM, or when disambiguating between matching regional variants in frameworks.json.

  1. Deterministic Tool Gating:

Prerequisites

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

  1. Google Cloud SDK:
  1. Project Setup & Target Selection:
     gcloud config set project PROJECT_ID
  1. Region Configuration & Availability:
     gcloud config set compute/region us-central1
  1. Required API Enablement:
     gcloud services enable \
       cloudasset.googleapis.com \
       orgpolicy.googleapis.com \
       assuredworkloads.googleapis.com \
       cloudsecuritycompliance.googleapis.com
  1. Authentication Setup:
     gcloud auth login
     gcloud auth application-default login
  1. Billing & Quota Project Setup (Zero Billing Impact):

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.

     # 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
  1. 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:
     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)*

     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

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.

active location and assetType values required to evaluate both builtin-restrict-resource-locations (allowedLocations) and builtin-enforce-service-usage-restrictions (allowedServices / SUR).

  1. 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.restrictTLSVersi