[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EVV86H0CB94YVE3D8X6EQ3":3,"skill-same:01M6EVV86H0CB94YVE3D8X6EQ3":116},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":77,"commitSha":78,"skillDirectory":79,"forksCount":14,"repositoryHtmlUrl":80,"repositoryHomepageUrl":81,"ownerHtmlUrl":82,"ownerBlogUrl":6,"ownerDescription":83,"updatedAt":84,"install":85,"resources":98},"01M6EVV86H0CB94YVE3D8X6EQ3","performing-gcp-security-assessment-with-forseti",null,"Performing comprehensive security assessments of Google Cloud Platform environments using Forseti Security, Security Command Center, and gcloud CLI to audit IAM policies, firewall rules, storage permissions, and compliance against CIS GCP Foundations Benchmark.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-gcp-security-assessment-with-forseti\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"with","security","assessment","gcp","security assessment","forseti","performing gcp security assessment with forseti","t1078","foundations","de","map","cm","aml","cli","firewall","iam","permissions","security command center","cybersecurity","google cloud","2026-11-10 10:12:30",false,"---\nname: performing-gcp-security-assessment-with-forseti\ndescription: 'Performing comprehensive security assessments of Google Cloud Platform\n  environments using Forseti Security, Security Command Center, and gcloud CLI to\n  audit IAM policies, firewall rules, storage permissions, and compliance against\n  CIS GCP Foundations Benchmark.\n\n  '\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cloud-security\n- gcp\n- forseti\n- security-command-center\n- iam-audit\n- cis-benchmark\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\n- GOVERN-1.1\n- GOVERN-4.2\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1530\n- T1537\n- T1580\n---\n\n# Performing GCP Security Assessment with Forseti\n\n## When to Use\n\n- When conducting periodic security assessments of GCP organizations and projects\n- When onboarding new GCP projects and establishing security baselines\n- When compliance mandates CIS GCP Foundations Benchmark evaluation\n- When auditing IAM bindings, firewall rules, and storage ACLs across multiple GCP projects\n- When building continuous security monitoring for GCP infrastructure\n\n**Do not use** as a replacement for GCP Security Command Center Premium for real-time threat detection, for application-level vulnerability scanning (use Web Security Scanner), or for GKE-specific security (use GKE Security Posture).\n\n## Prerequisites\n\n- GCP Organization with Organization Admin or Security Admin IAM role\n- gcloud CLI authenticated with sufficient permissions (`roles\u002Fsecuritycenter.admin`, `roles\u002Fiam.securityReviewer`)\n- Security Command Center (SCC) enabled at the organization level\n- ScoutSuite installed for multi-cloud comparison (`pip install scoutsuite`)\n- Python 3.8+ for custom audit scripts using google-cloud-asset and google-cloud-securitycenter libraries\n\n## Workflow\n\n### Step 1: Enable Security Command Center and Asset Inventory\n\nEnable SCC and set up Cloud Asset Inventory for comprehensive resource visibility.\n\n```bash\n# Enable Security Command Center API\ngcloud services enable securitycenter.googleapis.com \\\n  --project=PROJECT_ID\n\n# Enable Cloud Asset API\ngcloud services enable cloudasset.googleapis.com \\\n  --project=PROJECT_ID\n\n# List all assets in the organization\ngcloud asset search-all-resources \\\n  --scope=organizations\u002FORG_ID \\\n  --asset-types=\"compute.googleapis.com\u002FInstance,storage.googleapis.com\u002FBucket,iam.googleapis.com\u002FServiceAccount\" \\\n  --format=\"table(name, assetType, location, project)\"\n\n# Export asset inventory to BigQuery for analysis\ngcloud asset export \\\n  --organization=ORG_ID \\\n  --output-bigquery-force \\\n  --output-bigquery-dataset=projects\u002FPROJECT_ID\u002Fdatasets\u002Fasset_inventory \\\n  --output-bigquery-table=resources \\\n  --content-type=resource\n```\n\n### Step 2: Audit IAM Policies and Bindings\n\nReview IAM policies across the organization for overly permissive bindings, primitive roles, and service account misuse.\n\n```bash\n# List all IAM policy bindings at org level\ngcloud organizations get-iam-policy ORG_ID \\\n  --format=json > org-iam-policy.json\n\n# Find all users with Owner or Editor roles across projects\ngcloud asset search-all-iam-policies \\\n  --scope=organizations\u002FORG_ID \\\n  --query=\"policy:roles\u002Fowner OR policy:roles\u002Feditor\" \\\n  --format=\"table(resource, policy.bindings.role, policy.bindings.members)\"\n\n# Identify service accounts with admin roles\ngcloud asset search-all-iam-policies \\\n  --scope=organizations\u002FORG_ID \\\n  --query=\"policy.bindings.members:serviceAccount AND policy:roles\u002Fowner\" \\\n  --format=json\n\n# Check for allUsers or allAuthenticatedUsers bindings (public access)\ngcloud asset search-all-iam-policies \\\n  --scope=organizations\u002FORG_ID \\\n  --query=\"policy:allUsers OR policy:allAuthenticatedUsers\" \\\n  --format=\"table(resource, policy.bindings.role, policy.bindings.members)\"\n\n# List service account keys older than 90 days\ngcloud iam service-accounts keys list \\\n  --iam-account=SA_EMAIL \\\n  --managed-by=user \\\n  --format=\"table(name,validAfterTime,validBeforeTime)\"\n```\n\n### Step 3: Assess Firewall Rules and Network Configuration\n\nAudit VPC firewall rules for overly permissive ingress rules, missing logging, and network exposure.\n\n```bash\n# List all firewall rules allowing ingress from 0.0.0.0\u002F0\ngcloud compute firewall-rules list \\\n  --filter=\"direction=INGRESS AND sourceRanges=0.0.0.0\u002F0\" \\\n  --format=\"table(name, network, allowed, sourceRanges, targetTags)\"\n\n# Find firewall rules allowing all protocols\u002Fports\ngcloud compute firewall-rules list \\\n  --filter=\"direction=INGRESS AND allowed[].IPProtocol=all\" \\\n  --format=\"table(name, network, sourceRanges, targetTags)\"\n\n# Check for SSH (22) and RDP (3389) open to internet\ngcloud compute firewall-rules list \\\n  --filter=\"direction=INGRESS AND sourceRanges=0.0.0.0\u002F0 AND (allowed[].ports=22 OR allowed[].ports=3389)\" \\\n  --format=\"table(name, network, allowed, sourceRanges)\"\n\n# Audit VPC flow log configuration\ngcloud compute networks subnets list \\\n  --format=\"table(name, region, enableFlowLogs, logConfig.aggregationInterval)\"\n```\n\n### Step 4: Audit Cloud Storage Bucket Permissions\n\nCheck for publicly accessible storage buckets and missing encryption configurations.\n\n```bash\n# List all buckets in a project\ngsutil ls -p PROJECT_ID\n\n# Check bucket IAM for public access\nfor bucket in $(gsutil ls -p PROJECT_ID); do\n  echo \"=== $bucket ===\"\n  gsutil iam get \"$bucket\" | grep -E \"allUsers|allAuthenticatedUsers\" && \\\n    echo \"  WARNING: PUBLIC ACCESS DETECTED\" || \\\n    echo \"  OK: No public access\"\ndone\n\n# Check bucket encryption configuration\nfor bucket in $(gsutil ls -p PROJECT_ID); do\n  echo \"=== $bucket ===\"\n  gsutil kms encryption \"$bucket\" 2>\u002Fdev\u002Fnull || echo \"  Using Google-managed encryption\"\ndone\n\n# Check uniform bucket-level access enforcement\nfor bucket in $(gsutil ls -p PROJECT_ID); do\n  gsutil uniformbucketlevelaccess get \"$bucket\"\ndone\n```\n\n### Step 5: Run ScoutSuite for Comprehensive Assessment\n\nExecute ScoutSuite for an automated multi-check security assessment of the GCP environment.\n\n```bash\n# Run ScoutSuite against GCP\npython3 -m ScoutSuite gcp \\\n  --user-account \\\n  --all-projects \\\n  --report-dir .\u002Fscoutsuite-gcp-report\n\n# Run with service account credentials\npython3 -m ScoutSuite gcp \\\n  --service-account \u002Fpath\u002Fto\u002Fservice-account-key.json \\\n  --all-projects \\\n  --report-dir .\u002Fscoutsuite-gcp-report\n\n# Open the HTML report\nopen .\u002Fscoutsuite-gcp-report\u002Fgcp-report.html\n```\n\n### Step 6: Query Security Command Center Findings\n\nRetrieve and analyze SCC findings for vulnerabilities, misconfigurations, and threats.\n\n```bash\n# List active SCC findings\ngcloud scc findings list ORG_ID \\\n  --filter=\"state=\\\"ACTIVE\\\" AND severity=\\\"CRITICAL\\\"\" \\\n  --format=\"table(finding.category, finding.severity, finding.resourceName, finding.eventTime)\"\n\n# List findings by category\ngcloud scc findings list ORG_ID \\\n  --filter=\"state=\\\"ACTIVE\\\" AND category=\\\"PUBLIC_BUCKET_ACL\\\"\" \\\n  --format=json\n\n# Get finding statistics grouped by category\ngcloud scc findings group ORG_ID \\\n  --group-by=\"category\" \\\n  --filter=\"state=\\\"ACTIVE\\\"\"\n\n# List compliance violations from SCC\ngcloud scc findings list ORG_ID \\\n  --filter=\"state=\\\"ACTIVE\\\" AND sourceProperties.compliance_standard=\\\"CIS\\\"\" \\\n  --format=\"table(finding.category, finding.severity, finding.resourceName)\"\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Security Command Center | GCP-native security and risk management platform that provides asset inventory, vulnerability detection, and threat monitoring |\n| Forseti Security | Open-source GCP security toolkit (now deprecated in favor of SCC) that provided inventory, scanning, enforcement, and notification capabilities |\n| Cloud Asset Inventory | GCP service that provides a complete inventory of cloud resources with metadata, IAM policies, and org policy configurations |\n| CIS GCP Foundations Benchmark | Security best practice guidelines from Center for Internet Security specific to Google Cloud Platform configuration |\n| Uniform Bucket-Level Access | GCP storage setting that disables legacy ACLs and enforces access exclusively through IAM policies for consistent access control |\n| Organization Policy | GCP constraint-based governance mechanism that restricts resource configurations across the organization hierarchy |\n\n## Tools & Systems\n\n- **Security Command Center**: GCP-native CSPM providing asset inventory, vulnerability findings, and compliance scoring\n- **ScoutSuite**: Multi-cloud security auditing tool with comprehensive GCP checks for IAM, compute, storage, and networking\n- **gcloud CLI**: Primary command-line interface for querying GCP resource configurations and security settings\n- **Cloud Asset Inventory**: API for searching and exporting resource metadata and IAM policies across GCP projects\n- **Forseti Security**: Legacy open-source GCP security toolkit, superseded by SCC but still referenced in compliance frameworks\n\n## Common Scenarios\n\n### Scenario: Assessing a Newly Acquired GCP Organization\n\n**Context**: After a company acquisition, the security team needs to assess the security posture of the acquired company's GCP organization with 30+ projects.\n\n**Approach**:\n1. Enable Cloud Asset API and export full resource inventory to BigQuery for analysis\n2. Run `gcloud asset search-all-iam-policies` to find all Owner\u002FEditor bindings and public access grants\n3. Audit firewall rules across all projects for overly permissive ingress from `0.0.0.0\u002F0`\n4. Check all storage buckets for public access using `gsutil iam get`\n5. Run ScoutSuite for a comprehensive automated assessment with HTML report\n6. Enable SCC and review all CRITICAL and HIGH findings\n7. Generate a risk-prioritized remediation roadmap for the integration team\n\n**Pitfalls**: GCP IAM bindings are inherited from organization to folder to project. A permissive binding at the organization level affects all downstream projects. Always audit IAM at every level of the hierarchy, not just at the project level.\n\n## Output Format\n\n```\nGCP Security Assessment Report\n=================================\nOrganization: acme-acquired-org (ORG_ID: 123456789)\nProjects Assessed: 34\nAssessment Date: 2026-02-23\nStandards: CIS GCP Foundations 2.0\n\nIAM FINDINGS:\n  Users with Owner role at org level:       3\n  Service accounts with Editor role:        12\n  Resources with allUsers binding:           5\n  Service account keys > 90 days:           18\n\nNETWORK FINDINGS:\n  Firewall rules allowing 0.0.0.0\u002F0:       14\n  SSH open to internet:                      7\n  RDP open to internet:                      2\n  Subnets without VPC flow logs:            22\n\nSTORAGE FINDINGS:\n  Publicly accessible buckets:               5\n  Buckets without CMEK encryption:          28\n  Buckets without uniform access:           15\n\nCRITICAL FINDINGS: 12\nHIGH FINDINGS: 34\nMEDIUM FINDINGS: 78\nLOW FINDINGS: 145\n\nTOP REMEDIATION PRIORITIES:\n  1. Remove allUsers bindings from 5 storage buckets (CRITICAL)\n  2. Restrict 0.0.0.0\u002F0 firewall rules to specific CIDRs (HIGH)\n  3. Rotate 18 service account keys older than 90 days (HIGH)\n  4. Enable VPC flow logs on 22 subnets (MEDIUM)\n```\n","# Performing GCP Security Assessment with Forseti\n\n## When to Use\n\n- When conducting periodic security assessments of GCP organizations and projects\n- When onboarding new GCP projects and establishing security baselines\n- When compliance mandates CIS GCP Foundations Benchmark evaluation\n- When auditing IAM bindings, firewall rules, and storage ACLs across multiple GCP projects\n- When building continuous security monitoring for GCP infrastructure\n\n**Do not use** as a replacement for GCP Security Command Center Premium for real-time threat detection, for application-level vulnerability scanning (use Web Security Scanner), or for GKE-specific security (use GKE Security Posture).\n\n## Prerequisites\n\n- GCP Organization with Organization Admin or Security Admin IAM role\n- gcloud CLI authenticated with sufficient permissions (`roles\u002Fsecuritycenter.admin`, `roles\u002Fiam.securityReviewer`)\n- Security Command Center (SCC) enabled at the organization level\n- ScoutSuite installed for multi-cloud comparison (`pip install scoutsuite`)\n- Python 3.8+ for custom audit scripts using google-cloud-asset and google-cloud-securitycenter libraries\n\n## Workflow\n\n### Step 1: Enable Security Command Center and Asset Inventory\n\nEnable SCC and set up Cloud Asset Inventory for comprehensive resource visibility.\n\n```bash\n# Enable Security Command Center API\ngcloud services enable securitycenter.googleapis.com \\\n  --project=PROJECT_ID\n\n# Enable Cloud Asset API\ngcloud services enable cloudasset.googleapis.com \\\n  --project=PROJECT_ID\n\n# List all assets in the organization\ngcloud asset search-all-resources \\\n  --scope=organizations\u002FORG_ID \\\n  --asset-types=\"compute.googleapis.com\u002FInstance,storage.googleapis.com\u002FBucket,iam.googleapis.com\u002FServiceAccount\" \\\n  --format=\"table(name, assetType, location, project)\"\n\n# Export asset inventory to BigQuery for analysis\ngcloud asset export \\\n  --organization=ORG_ID \\\n  --output-bigquery-force \\\n  --output-bigquery-dataset=projects\u002FPROJECT_ID\u002Fdatasets\u002Fasset_inventory \\\n  --output-bigquery-table=resources \\\n  --content-type=resource\n```\n\n### Step 2: Audit IAM Policies and Bindings\n\nReview IAM policies across the organization for overly permissive bindings, primitive roles, and service account misuse.\n\n```bash\n# List all IAM policy bindings at org level\ngcloud organizations get-iam-policy ORG_ID \\\n  --format=json > org-iam-policy.json\n\n# Find all users with Owner or Editor roles across projects\ngcloud asset search-all-iam-policies \\\n  --scope=organizations\u002FORG_ID \\\n  --query=\"policy:roles\u002Fowner OR policy:roles\u002Feditor\" \\\n  --format=\"table(resource, policy.bindings.role, policy.bindings.members)\"\n\n# Identify service accounts with admin roles\ngcloud asset search-all-iam-policies \\\n  --scope=organizations\u002FORG_ID \\\n  --query=\"policy.bindings.members:serviceAccount AND policy:roles\u002Fowner\" \\\n  --format=json\n\n# Check for allUsers or allAuthenticatedUsers bindings (public access)\ngcloud asset search-all-iam-policies \\\n  --scope=organizations\u002FORG_ID \\\n  --query=\"policy:allUsers OR policy:allAuthenticatedUsers\" \\\n  --format=\"table(resource, policy.bindings.role, policy.bindings.members)\"\n\n# List service account keys older than 90 days\ngcloud iam service-accounts keys list \\\n  --iam-account=SA_EMAIL \\\n  --managed-by=user \\\n  --format=\"table(name,validAfterTime,validBeforeTime)\"\n```\n\n### Step 3: Assess Firewall Rules and Network Configuration\n\nAudit VPC firewall rules for overly permissive ingress rules, missing logging, and network exposure.\n\n```bash\n# List all firewall rules allowing ingress from 0.0.0.0\u002F0\ngcloud compute firewall-rules list \\\n  --filter=\"direction=INGRESS AND sourceRanges=0.0.0.0\u002F0\" \\\n  --format=\"table(name, network, allowed, sourceRanges, targetTags)\"\n\n# Find firewall rules allowing all protocols\u002Fports\ngcloud compute firewall-rules list \\\n  --filter=\"direction=INGRESS AND allowed[].IPProtocol=all\" \\\n  --format=\"table(name, network, sourceRanges, targetTags)\"\n\n# Check for SSH (22) and RDP (3389) open to internet\ngcloud compute firewall-rules list \\\n  --filter=\"direction=INGRESS AND sourceRanges=0.0.0.0\u002F0 AND (allowed[].ports=22 OR allowed[].ports=3389)\" \\\n  --format=\"table(name, network, allowed, sourceRanges)\"\n\n# Audit VPC flow log configuration\ngcloud compute networks subnets list \\\n  --format=\"table(name, region, enableFlowLogs, logConfig.aggregationInterval)\"\n```\n\n### Step 4: Audit Cloud Storage Bucket Permissions\n\nCheck for publicly accessible storage buckets and missing encryption configurations.\n\n```bash\n# List all buckets in a project\ngsutil ls -p PROJECT_ID\n\n# Check bucket IAM for public access\nfor bucket in $(gsutil ls -p PROJECT_ID); do\n  echo \"=== $bucket ===\"\n  gsutil iam get \"$bucket\" | grep -E \"allUsers|allAuthenticatedUsers\" && \\\n    echo \"  WARNING: PUBLIC ACCESS DETECTED\" || \\\n    echo \"  OK: No public access\"\ndone\n\n# Check bucket encryption configuration\nfor bucket in $(gsutil ls -p PROJECT_ID); do\n  echo \"=== $bucket ===\"\n  gsutil kms encryption \"$bucket\" 2>\u002Fdev\u002Fnull || echo \"  Using Google-managed encryption\"\ndone\n\n# Check uniform bucket-level access enforcement\nfor bucket in $(gsutil ls -p PROJECT_ID); do\n  gsutil uniformbucketlevelaccess get \"$bucket\"\ndone\n```\n\n### Step 5: Run ScoutSuite for Comprehensive Assessment\n\nExecute ScoutSuite for an automated multi-check security assessment of the GCP environment.\n\n```bash\n# Run ScoutSuite against GCP\npython3 -m ScoutSuite gcp \\\n  --user-account \\\n  --all-projects \\\n  --report-dir .\u002Fscoutsuite-gcp-report\n\n# Run with service account credentials\npython3 -m ScoutSuite gcp \\\n  --service-account \u002Fpath\u002Fto\u002Fservice-account-key.json \\\n  --all-projects \\\n  --report-dir .\u002Fscoutsuite-gcp-report\n\n# Open the HTML report\nopen .\u002Fscoutsuite-gcp-report\u002Fgcp-report.html\n```\n\n### Step 6: Query Security Command Center Findings\n\nRetrieve and analyze SCC findings for vulnerabilities, misconfigurations, and threats.\n\n```bash\n# List active SCC findings\ngcloud scc findings list ORG_ID \\\n  --filter=\"state=\\\"ACTIVE\\\" AND severity=\\\"CRITICAL\\\"\" \\\n  --format=\"table(finding.category, finding.severity, finding.resourceName, finding.eventTime)\"\n\n# List findings by category\ngcloud scc findings list ORG_ID \\\n  --filter=\"state=\\\"ACTIVE\\\" AND category=\\\"PUBLIC_BUCKET_ACL\\\"\" \\\n  --format=json\n\n# Get finding statistics grouped by category\ngcloud scc findings group ORG_ID \\\n  --group-by=\"category\" \\\n  --filter=\"state=\\\"ACTIVE\\\"\"\n\n# List compliance violations from SCC\ngcloud scc findings list ORG_ID \\\n  --filter=\"state=\\\"ACTIVE\\\" AND sourceProperties.compliance_standard=\\\"CIS\\\"\" \\\n  --format=\"table(finding.category, finding.severity, finding.resourceName)\"\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Security Command Center | GCP-native security and risk management platform that provides asset inventory, vulnerability detection, and threat monitoring |\n| Forseti Security | Open-source GCP security toolkit (now deprecated in favor of SCC) that provided inventory, scanning, enforcement, and notification capabilities |\n| Cloud Asset Inventory | GCP service that provides a complete inventory of cloud resources with metadata, IAM policies, and org policy configurations |\n| CIS GCP Foundations Benchmark | Security best practice guidelines from Center for Internet Security specific to Google Cloud Platform configuration |\n| Uniform Bucket-Level Access | GCP storage setting that disables legacy ACLs and enforces access exclusively through IAM policies for consistent access control |\n| Organization Policy | GCP constraint-based governance mechanism that restricts resource configurations across the organization hierarchy |\n\n## Tools & Systems\n\n- **Security Command Center**: GCP-native CSPM providing asset inventory, vulnerability findings, and compliance scoring\n- **ScoutSuite**: Multi-cloud security auditing tool with comprehensive GCP checks for IAM, compute, storage, and networking\n- **gcloud CLI**: Primary command-line interface for querying GCP resource configurations and security settings\n- **Cloud Asset Inventory**: API for searching and exporting resource metadata and IAM policies across GCP projects\n- **Forseti Security**: Legacy open-source GCP security toolkit, superseded by SCC but still referenced in compliance frameworks\n\n## Common Scenarios\n\n### Scenario: Assessing a Newly Acquired GCP Organization\n\n**Context**: After a company acquisition, the security team needs to assess the security posture of the acquired company's GCP organization with 30+ projects.\n\n**Approach**:\n1. Enable Cloud Asset API and export full resource inventory to BigQuery for analysis\n2. Run `gcloud asset search-all-iam-policies` to find all Owner\u002FEditor bindings and public access grants\n3. Audit firewall rules across all projects for overly permissive ingress from `0.0.0.0\u002F0`\n4. Check all storage buckets for public access using `gsutil iam get`\n5. Run ScoutSuite for a comprehensive automated assessment with HTML report\n6. Enable SCC and review all CRITICAL and HIGH findings\n7. Generate a risk-prioritized remediation roadmap for the integration team\n\n**Pitfalls**: GCP IAM bindings are inherited from organization to folder to project. A permissive binding at the organization level affects all downstream projects. Always audit IAM at every level of the hierarchy, not just at the project level.\n\n## Output Format\n\n```\nGCP Security Assessment Report\n=================================\nOrganization: acme-acquired-org (ORG_ID: 123456789)\nProjects Assessed: 34\nAssessment Date: 2026-02-23\nStandards: CIS GCP Foundations 2.0\n\nIAM FINDINGS:\n  Users with Owner role at org level:       3\n  Service accounts with Editor role:        12\n  Resources with allUsers binding:           5\n  Service account keys > 90 days:           18\n\nNETWORK FINDINGS:\n  Firewall rules allowing 0.0.0.0\u002F0:       14\n  SSH open to internet:                      7\n  RDP open to internet:                      2\n  Subnets without VPC flow logs:            22\n\nSTORAGE FINDINGS:\n  Publicly accessible buckets:               5\n  Buckets without CMEK encryption:          28\n  Buckets without uniform access:           15\n\nCRITICAL FINDINGS: 12\nHIGH FINDINGS: 34\nMEDIUM FINDINGS: 78\nLOW FINDINGS: 145\n\nTOP REMEDIATION PRIORITIES:\n  1. Remove allUsers bindings from 5 storage buckets (CRITICAL)\n  2. Restrict 0.0.0.0\u002F0 firewall rules to specific CIDRs (HIGH)\n  3. Rotate 18 service account keys older than 90 days (HIGH)\n  4. Enable VPC flow logs on 22 subnets (MEDIUM)\n```\n",{"name":5,"tags":49,"author":54,"domain":42,"license":15,"version":55,"nist_csf":56,"subdomain":50,"description":61,"nist_ai_rmf":62,"mitre_attack":68,"atlas_techniques":73},[50,27,29,51,52,53],"cloud-security","security-command-center","iam-audit","cis-benchmark","mahipal","1.0",[57,58,59,60],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01","Performing comprehensive security assessments of Google Cloud Platform environments using Forseti Security, Security Command Center, and gcloud CLI to audit IAM policies, firewall rules, storage permissions, and compliance against CIS GCP Foundations Benchmark.\n",[63,64,65,66,67],"MEASURE-2.7","MAP-5.1","MANAGE-2.4","GOVERN-1.1","GOVERN-4.2",[69,70,71,72],"T1078.004","T1530","T1537","T1580",[74,75,76],"AML.T0070","AML.T0066","AML.T0082","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fperforming-gcp-security-assessment-with-forseti","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":86,"prompt":96,"zipAvailable":97},[87,90,93],{"tool":88,"command":89},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill performing-gcp-security-assessment-with-forseti",{"tool":91,"command":92},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill performing-gcp-security-assessment-with-forseti",{"tool":94,"command":95},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill performing-gcp-security-assessment-with-forseti","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-gcp-security-assessment-with-forseti\u002FSKILL.md",true,[99,104,110],{"path":100,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-gcp-security-assessment-with-forseti\u002FLICENSE",{"path":105,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fapi-reference.md","REFERENCE","参考文档",1949,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-gcp-security-assessment-with-forseti\u002Freferences\u002Fapi-reference.md",{"path":111,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fagent.py","SCRIPT","脚本",7307,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-gcp-security-assessment-with-forseti\u002Fscripts\u002Fagent.py",[117,157,166,175,197,223],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":138,"publishedAt":44},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[124,127,130,133],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":134,"categoryName":135,"taxonomyType":136,"taxonomyTypeDesc":137},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[119,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,24],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube",{"skillNo":158,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":165,"publishedAt":44},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[161,162,163,164],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":136,"taxonomyTypeDesc":137},[119,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,24],{"skillNo":167,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":174,"publishedAt":44},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[170,171,172,173],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":136,"taxonomyTypeDesc":137},[119,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,24],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":44},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[182,183,184,185,186,187,188,189,190,191,192,193,194,195,196],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":44},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[203],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[205,206,207,208,209,210,211,212,213,214,215,150,151,216,217,218,219,220,221,222],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":224,"name":225,"nameZh":6,"description":226,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":227,"categories":228,"keywords":239,"publishedAt":44},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[229,232,235,236],{"categoryNo":230,"categoryName":231,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":233,"categoryName":234,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":237,"categoryName":238,"taxonomyType":136,"taxonomyTypeDesc":137},"01JBSEEDCAT000000000000036","内容创作者",[240,241,242,243,244,245,246,247,147,248,150,151,152,249,250,251,252,253,196,254],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]