[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D95C9YBHV7J2QPJB85PEBS":3,"skill-same:01M7D95C9YBHV7J2QPJB85PEBS":106},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M7D95C9YBHV7J2QPJB85PEBS","implementing-beyondcorp-zero-trust-access-model",null,"Implement Google's BeyondCorp zero trust access model using Cloud IAP, Access Context Manager, Endpoint Verification, Chrome Enterprise Premium, and BeyondCorp Enterprise Connectors to enforce identity- and device-aware access for VPN-less application access. Use for replacing VPN, enforcing device posture checks, or securing remote\u002Fhybrid access to GCP-hosted or on-prem apps; not for raw network-level protocols.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implementing-beyondcorp-zero-trust-access-model\ndescription: 'Implement Google''s BeyondCorp zero trust access model using Cloud\n  IAP, Access Context Manager, Endpoint Verification, Chrome Enterprise Premium, and\n  BeyondCorp Enterprise Connectors to enforce identity- and device-aware access for\n  VPN-less application access. Use for replacing VPN, enforcing device posture checks,\n  or securing remote\u002Fhybrid access to GCP-hosted or on-prem apps; not for raw network-level\n  protocols.\n\n  '\ndomain: cybersecurity\nsubdomain: zero-trust-architecture\ntags:\n- beyondcorp\n- zero-trust\n- google-cloud\n- iap\n- identity-aware-proxy\n- ztna\n- access-context-manager\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AA-01\n- PR.AA-05\n- PR.IR-01\n- GV.PO-01\nmitre_attack:\n- T1078\n- T1190\n- T1059\n- T1078.004\n- T1530\n---\n\n# Implementing BeyondCorp Zero Trust Access Model\n\n## When to Use\n\n- When replacing traditional VPN infrastructure with identity-based application access\n- When migrating to Google Cloud and requiring zero trust access for internal applications\n- When implementing device trust verification as a prerequisite for resource access\n- When needing context-aware access policies based on user identity, device posture, and location\n- When securing access for remote and hybrid workforce without network-level trust\n\n**Do not use** when applications require raw network-level access (e.g., UDP-based protocols not supported by IAP), for consumer-facing public applications, or when the organization lacks an identity provider with MFA capabilities.\n\n## Prerequisites\n\n- Google Cloud organization with Cloud Identity or Google Workspace\n- Identity-Aware Proxy (IAP) API enabled on the GCP project\n- Chrome Enterprise Premium license for endpoint verification\n- Applications deployed behind a Google Cloud Load Balancer or on App Engine\u002FCloud Run\n- Endpoint Verification extension deployed on all corporate devices\n- Access Context Manager API enabled\n\n## Workflow\n\n### Step 1: Configure Access Context Manager with Access Levels\n\nDefine access levels that represent trust tiers based on device and user attributes.\n\n```bash\n# Enable required APIs\ngcloud services enable iap.googleapis.com\ngcloud services enable accesscontextmanager.googleapis.com\ngcloud services enable beyondcorp.googleapis.com\n\n# Create an access policy (organization level)\ngcloud access-context-manager policies create \\\n  --organization=ORG_ID \\\n  --title=\"BeyondCorp Enterprise Policy\"\n\n# Create a basic access level for corporate managed devices\ncat > corporate-device-level.yaml \u003C\u003C 'EOF'\n- devicePolicy:\n    allowedEncryptionStatuses:\n      - ENCRYPTED\n    osConstraints:\n      - osType: DESKTOP_CHROME_OS\n        minimumVersion: \"13816.0.0\"\n      - osType: DESKTOP_WINDOWS\n        minimumVersion: \"10.0.19045\"\n      - osType: DESKTOP_MAC\n        minimumVersion: \"13.0.0\"\n    requireScreenlock: true\n    requireAdminApproval: true\n  regions:\n    - US\n    - GB\n    - DE\nEOF\n\ngcloud access-context-manager levels create corporate-managed \\\n  --policy=POLICY_ID \\\n  --title=\"Corporate Managed Device\" \\\n  --basic-level-spec=corporate-device-level.yaml\n\n# Create a custom access level using CEL expressions\ngcloud access-context-manager levels create high-trust \\\n  --policy=POLICY_ID \\\n  --title=\"High Trust Level\" \\\n  --custom-level-spec=high-trust-cel.yaml\n```\n\n### Step 2: Deploy Identity-Aware Proxy on Applications\n\nEnable IAP on backend services to enforce identity verification before granting access.\n\n```bash\n# Create OAuth consent screen\ngcloud iap oauth-brands create \\\n  --application_title=\"Corporate Applications\" \\\n  --support_email=security@company.com\n\n# Create OAuth client for IAP\ngcloud iap oauth-clients create BRAND_NAME \\\n  --display_name=\"BeyondCorp IAP Client\"\n\n# Enable IAP on a backend service (GCE\u002FGKE behind HTTPS LB)\ngcloud compute backend-services update internal-app-backend \\\n  --iap=enabled,oauth2-client-id=CLIENT_ID,oauth2-client-secret=CLIENT_SECRET \\\n  --global\n\n# Enable IAP on App Engine\ngcloud iap web enable \\\n  --resource-type=app-engine \\\n  --oauth2-client-id=CLIENT_ID \\\n  --oauth2-client-secret=CLIENT_SECRET\n\n# Enable IAP on Cloud Run service\ngcloud run services add-iam-policy-binding internal-api \\\n  --member=\"serviceAccount:service-PROJECT_NUM@gcp-sa-iap.iam.gserviceaccount.com\" \\\n  --role=\"roles\u002Frun.invoker\" \\\n  --region=us-central1\n```\n\n### Step 3: Configure IAM Bindings with Access Level Conditions\n\nBind IAP access to specific groups with access level requirements.\n\n```bash\n# Grant access to engineering group with corporate device requirement\ngcloud iap web add-iam-policy-binding \\\n  --resource-type=backend-services \\\n  --service=internal-app-backend \\\n  --member=\"group:engineering@company.com\" \\\n  --role=\"roles\u002Fiap.httpsResourceAccessor\" \\\n  --condition=\"expression=accessPolicies\u002FPOLICY_ID\u002FaccessLevels\u002Fcorporate-managed,title=Require Corporate Device\"\n\n# Grant access to contractors with high-trust requirement\ngcloud iap web add-iam-policy-binding \\\n  --resource-type=backend-services \\\n  --service=internal-app-backend \\\n  --member=\"group:contractors@company.com\" \\\n  --role=\"roles\u002Fiap.httpsResourceAccessor\" \\\n  --condition=\"expression=accessPolicies\u002FPOLICY_ID\u002FaccessLevels\u002Fhigh-trust,title=Require High Trust\"\n\n# Configure re-authentication settings (session duration)\ngcloud iap settings set --project=PROJECT_ID \\\n  --resource-type=compute \\\n  --service=internal-app-backend \\\n  --reauth-method=LOGIN \\\n  --max-session-duration=3600s\n```\n\n### Step 4: Deploy Endpoint Verification on Corporate Devices\n\nRoll out Chrome Enterprise Endpoint Verification for device posture collection.\n\n```bash\n# Deploy Endpoint Verification via Chrome policy (managed browsers)\n# In Google Admin Console > Devices > Chrome > Apps & extensions\n# Force-install: Endpoint Verification extension ID: callobklhcbilhphinckomhgkigmfocg\n\n# Verify device inventory in Admin SDK\ngcloud endpoint-verification list-endpoints \\\n  --filter=\"deviceType=CHROME_BROWSER\" \\\n  --format=\"table(deviceId, osVersion, isCompliant, encryptionStatus)\"\n\n# Create device trust connector for third-party EDR signals\ngcloud beyondcorp app connections create crowdstrike-connector \\\n  --project=PROJECT_ID \\\n  --location=global \\\n  --application-endpoint=host=crowdstrike-api.internal:443,port=443 \\\n  --type=TCP_PROXY_TUNNEL \\\n  --connectors=projects\u002FPROJECT_ID\u002Flocations\u002Fus-central1\u002Fconnectors\u002Fconnector-1\n\n# List enrolled devices and their compliance status\ngcloud alpha devices list --format=\"table(name,deviceType,complianceState)\"\n```\n\n### Step 5: Implement BeyondCorp Enterprise Threat Protection\n\nEnable URL filtering, malware scanning, and DLP for Chrome Enterprise users.\n\n```bash\n# Configure Chrome Enterprise Premium threat protection rules\n# In Google Admin Console > Security > Chrome Enterprise Premium\n\n# Create a BeyondCorp Enterprise connector for on-prem apps\ngcloud beyondcorp app connectors create onprem-connector \\\n  --project=PROJECT_ID \\\n  --location=us-central1 \\\n  --display-name=\"On-Premises App Connector\"\n\ngcloud beyondcorp app connections create hr-portal \\\n  --project=PROJECT_ID \\\n  --location=us-central1 \\\n  --application-endpoint=host=hr.internal.company.com,port=443 \\\n  --type=TCP_PROXY_TUNNEL \\\n  --connectors=projects\u002FPROJECT_ID\u002Flocations\u002Fus-central1\u002Fconnectors\u002Fonprem-connector\n\n# Enable security investigation tool for access anomaly detection\ngcloud logging read '\n  resource.type=\"iap_tunnel\"\n  jsonPayload.decision=\"DENY\"\n  timestamp >= \"2026-02-22T00:00:00Z\"\n' --project=PROJECT_ID --format=json --limit=100\n```\n\n### Step 6: Monitor and Audit BeyondCorp Access Decisions\n\nSet up comprehensive logging and alerting for zero trust policy enforcement.\n\n```bash\n# Create a log sink for IAP access decisions\ngcloud logging sinks create iap-access-audit \\\n  --destination=bigquery.googleapis.com\u002Fprojects\u002FPROJECT_ID\u002Fdatasets\u002Fbeyondcorp_audit \\\n  --log-filter='resource.type=\"iap_tunnel\" OR resource.type=\"gce_backend_service\"'\n\n# Query BigQuery for access pattern analysis\nbq query --use_legacy_sql=false '\nSELECT\n  protopayload_auditlog.authenticationInfo.principalEmail AS user,\n  resource.labels.backend_service_name AS application,\n  JSON_EXTRACT_SCALAR(protopayload_auditlog.requestMetadata.callerSuppliedUserAgent, \"$\") AS device,\n  protopayload_auditlog.status.code AS decision_code,\n  COUNT(*) AS request_count\nFROM `PROJECT_ID.beyondcorp_audit.cloudaudit_googleapis_com_data_access`\nWHERE timestamp > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 24 HOUR)\nGROUP BY user, application, device, decision_code\nORDER BY request_count DESC\nLIMIT 50\n'\n\n# Create an alert policy for repeated access denials\ngcloud alpha monitoring policies create \\\n  --display-name=\"BeyondCorp Repeated Access Denials\" \\\n  --condition-display-name=\"High denial rate\" \\\n  --condition-filter='resource.type=\"iap_tunnel\" AND jsonPayload.decision=\"DENY\"' \\\n  --condition-threshold-value=10 \\\n  --condition-threshold-duration=300s \\\n  --notification-channels=projects\u002FPROJECT_ID\u002FnotificationChannels\u002FCHANNEL_ID\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| BeyondCorp | Google's zero trust security framework that shifts access controls from network perimeter to per-request identity and device verification |\n| Identity-Aware Proxy (IAP) | Google Cloud service that intercepts HTTP requests and verifies user identity and device context before forwarding to backend applications |\n| Access Context Manager | GCP service that defines fine-grained attribute-based access control policies using access levels and service perimeters |\n| Endpoint Verification | Chrome Enterprise extension that collects device attributes (OS version, encryption, screen lock) for access level evaluation |\n| Access Levels | Named conditions in Access Context Manager that define minimum requirements (device posture, IP range, geography) for resource access |\n| Chrome Enterprise Premium | Google's commercial BeyondCorp offering providing threat protection, URL filtering, DLP, and continuous access evaluation |\n\n## Tools & Systems\n\n- **Google Cloud IAP**: Identity-aware reverse proxy enforcing per-request authentication and authorization for GCP-hosted applications\n- **Access Context Manager**: Policy engine defining access levels based on device attributes, IP ranges, and geographic locations\n- **Chrome Enterprise Premium**: Extended BeyondCorp capabilities including real-time threat protection and data loss prevention\n- **Endpoint Verification**: Device posture collection agent deployed as Chrome extension to all corporate endpoints\n- **BeyondCorp Enterprise Connectors**: Secure tunnel connectors enabling IAP protection for on-premises applications\n- **Cloud Audit Logs**: Immutable log records of all IAP access decisions for compliance and forensic analysis\n\n## Common Scenarios\n\n### Scenario: Migrating 50+ Internal Applications from VPN to BeyondCorp\n\n**Context**: A technology company with 3,000 employees uses Cisco AnyConnect VPN for accessing internal applications. The VPN introduces latency, creates a single point of failure, and grants excessive network access after authentication.\n\n**Approach**:\n1. Inventory all 50+ applications and categorize by hosting (GCP, on-prem, SaaS) and protocol (HTTPS, TCP, SSH)\n2. Deploy Endpoint Verification to all corporate devices and establish baseline device posture data over 2 weeks\n3. Create access levels in Access Context Manager: corporate-managed, contractor-device, high-trust\n4. Enable IAP on GCP-hosted HTTPS applications first (App Engine, Cloud Run, GKE services)\n5. Deploy BeyondCorp Enterprise connectors for on-premises applications\n6. Migrate users in 3 phases: IT\u002FEngineering (week 1-2), General staff (week 3-4), Executives\u002FFinance (week 5-6)\n7. Configure re-authentication policies: 8 hours for general apps, 1 hour for financial systems\n8. Set up BigQuery audit pipeline for continuous monitoring and anomaly detection\n9. Decommission VPN after 30-day parallel operation period\n\n**Pitfalls**: Some legacy applications may not support HTTPS proxying and require TCP tunnel mode. Device enrollment takes time; plan a 2-week onboarding period before enforcing device posture requirements. Break-glass accounts with bypassed access levels must be created and tested for identity provider outages.\n\n## Output Format\n\n```\nBeyondCorp Zero Trust Implementation Report\n==================================================\nOrganization: TechCorp Inc.\nImplementation Date: 2026-02-23\nMigration Phase: Phase 2 of 3\n\nACCESS ARCHITECTURE:\n  Identity Provider: Google Workspace\n  Access Proxy: Google Cloud IAP\n  Device Management: Chrome Enterprise + Endpoint Verification\n  Threat Protection: Chrome Enterprise Premium\n  On-Prem Connector: BeyondCorp Enterprise Connector (3 instances)\n\nACCESS LEVEL COVERAGE:\n  Access Level: corporate-managed\n    Devices enrolled:              2,847 \u002F 3,000 (94.9%)\n    Compliant devices:             2,712 \u002F 2,847 (95.3%)\n  Access Level: high-trust\n    Devices enrolled:              312 \u002F 350 (89.1%)\n    Compliant devices:             298 \u002F 312 (95.5%)\n\nAPPLICATION MIGRATION:\n  GCP HTTPS apps (IAP-protected):  32 \u002F 35 (91.4%)\n  On-prem apps (via connector):    12 \u002F 15 (80.0%)\n  SaaS apps (via SAML\u002FOIDC):       8 \u002F 8 (100%)\n  Total migrated:                  52 \u002F 58 (89.7%)\n\nSECURITY METRICS (last 30 days):\n  Total access requests:           1,247,832\n  Denied by IAP policy:            3,412 (0.27%)\n  Denied by access level:          1,208 (0.10%)\n  Re-authentication triggered:     45,219\n  Anomalous access patterns:       12 (investigated)\n  VPN-related incidents (before):  8\u002Fmonth\n  BeyondCorp incidents (after):    1\u002Fmonth\n\nVPN DECOMMISSION STATUS:\n  Parallel operation remaining:    14 days\n  Users still on VPN:              148 (5%)\n  Planned decommission:            2026-03-15\n```\n","# Implementing BeyondCorp Zero Trust Access Model\n\n## When to Use\n\n- When replacing traditional VPN infrastructure with identity-based application access\n- When migrating to Google Cloud and requiring zero trust access for internal applications\n- When implementing device trust verification as a prerequisite for resource access\n- When needing context-aware access policies based on user identity, device posture, and location\n- When securing access for remote and hybrid workforce without network-level trust\n\n**Do not use** when applications require raw network-level access (e.g., UDP-based protocols not supported by IAP), for consumer-facing public applications, or when the organization lacks an identity provider with MFA capabilities.\n\n## Prerequisites\n\n- Google Cloud organization with Cloud Identity or Google Workspace\n- Identity-Aware Proxy (IAP) API enabled on the GCP project\n- Chrome Enterprise Premium license for endpoint verification\n- Applications deployed behind a Google Cloud Load Balancer or on App Engine\u002FCloud Run\n- Endpoint Verification extension deployed on all corporate devices\n- Access Context Manager API enabled\n\n## Workflow\n\n### Step 1: Configure Access Context Manager with Access Levels\n\nDefine access levels that represent trust tiers based on device and user attributes.\n\n```bash\n# Enable required APIs\ngcloud services enable iap.googleapis.com\ngcloud services enable accesscontextmanager.googleapis.com\ngcloud services enable beyondcorp.googleapis.com\n\n# Create an access policy (organization level)\ngcloud access-context-manager policies create \\\n  --organization=ORG_ID \\\n  --title=\"BeyondCorp Enterprise Policy\"\n\n# Create a basic access level for corporate managed devices\ncat > corporate-device-level.yaml \u003C\u003C 'EOF'\n- devicePolicy:\n    allowedEncryptionStatuses:\n      - ENCRYPTED\n    osConstraints:\n      - osType: DESKTOP_CHROME_OS\n        minimumVersion: \"13816.0.0\"\n      - osType: DESKTOP_WINDOWS\n        minimumVersion: \"10.0.19045\"\n      - osType: DESKTOP_MAC\n        minimumVersion: \"13.0.0\"\n    requireScreenlock: true\n    requireAdminApproval: true\n  regions:\n    - US\n    - GB\n    - DE\nEOF\n\ngcloud access-context-manager levels create corporate-managed \\\n  --policy=POLICY_ID \\\n  --title=\"Corporate Managed Device\" \\\n  --basic-level-spec=corporate-device-level.yaml\n\n# Create a custom access level using CEL expressions\ngcloud access-context-manager levels create high-trust \\\n  --policy=POLICY_ID \\\n  --title=\"High Trust Level\" \\\n  --custom-level-spec=high-trust-cel.yaml\n```\n\n### Step 2: Deploy Identity-Aware Proxy on Applications\n\nEnable IAP on backend services to enforce identity verification before granting access.\n\n```bash\n# Create OAuth consent screen\ngcloud iap oauth-brands create \\\n  --application_title=\"Corporate Applications\" \\\n  --support_email=security@company.com\n\n# Create OAuth client for IAP\ngcloud iap oauth-clients create BRAND_NAME \\\n  --display_name=\"BeyondCorp IAP Client\"\n\n# Enable IAP on a backend service (GCE\u002FGKE behind HTTPS LB)\ngcloud compute backend-services update internal-app-backend \\\n  --iap=enabled,oauth2-client-id=CLIENT_ID,oauth2-client-secret=CLIENT_SECRET \\\n  --global\n\n# Enable IAP on App Engine\ngcloud iap web enable \\\n  --resource-type=app-engine \\\n  --oauth2-client-id=CLIENT_ID \\\n  --oauth2-client-secret=CLIENT_SECRET\n\n# Enable IAP on Cloud Run service\ngcloud run services add-iam-policy-binding internal-api \\\n  --member=\"serviceAccount:service-PROJECT_NUM@gcp-sa-iap.iam.gserviceaccount.com\" \\\n  --role=\"roles\u002Frun.invoker\" \\\n  --region=us-central1\n```\n\n### Step 3: Configure IAM Bindings with Access Level Conditions\n\nBind IAP access to specific groups with access level requirements.\n\n```bash\n# Grant access to engineering group with corporate device requirement\ngcloud iap web add-iam-policy-binding \\\n  --resource-type=backend-services \\\n  --service=internal-app-backend \\\n  --member=\"group:engineering@company.com\" \\\n  --role=\"roles\u002Fiap.httpsResourceAccessor\" \\\n  --condition=\"expression=accessPolicies\u002FPOLICY_ID\u002FaccessLevels\u002Fcorporate-managed,title=Require Corporate Device\"\n\n# Grant access to contractors with high-trust requirement\ngcloud iap web add-iam-policy-binding \\\n  --resource-type=backend-services \\\n  --service=internal-app-backend \\\n  --member=\"group:contractors@company.com\" \\\n  --role=\"roles\u002Fiap.httpsResourceAccessor\" \\\n  --condition=\"expression=accessPolicies\u002FPOLICY_ID\u002FaccessLevels\u002Fhigh-trust,title=Require High Trust\"\n\n# Configure re-authentication settings (session duration)\ngcloud iap settings set --project=PROJECT_ID \\\n  --resource-type=compute \\\n  --service=internal-app-backend \\\n  --reauth-method=LOGIN \\\n  --max-session-duration=3600s\n```\n\n### Step 4: Deploy Endpoint Verification on Corporate Devices\n\nRoll out Chrome Enterprise Endpoint Verification for device posture collection.\n\n```bash\n# Deploy Endpoint Verification via Chrome policy (managed browsers)\n# In Google Admin Console > Devices > Chrome > Apps & extensions\n# Force-install: Endpoint Verification extension ID: callobklhcbilhphinckomhgkigmfocg\n\n# Verify device inventory in Admin SDK\ngcloud endpoint-verification list-endpoints \\\n  --filter=\"deviceType=CHROME_BROWSER\" \\\n  --format=\"table(deviceId, osVersion, isCompliant, encryptionStatus)\"\n\n# Create device trust connector for third-party EDR signals\ngcloud beyondcorp app connections create crowdstrike-connector \\\n  --project=PROJECT_ID \\\n  --location=global \\\n  --application-endpoint=host=crowdstrike-api.internal:443,port=443 \\\n  --type=TCP_PROXY_TUNNEL \\\n  --connectors=projects\u002FPROJECT_ID\u002Flocations\u002Fus-central1\u002Fconnectors\u002Fconnector-1\n\n# List enrolled devices and their compliance status\ngcloud alpha devices list --format=\"table(name,deviceType,complianceState)\"\n```\n\n### Step 5: Implement BeyondCorp Enterprise Threat Protection\n\nEnable URL filtering, malware scanning, and DLP for Chrome Enterprise users.\n\n```bash\n# Configure Chrome Enterprise Premium threat protection rules\n# In Google Admin Console > Security > Chrome Enterprise Premium\n\n# Create a BeyondCorp Enterprise connector for on-prem apps\ngcloud beyondcorp app connectors create onprem-connector \\\n  --project=PROJECT_ID \\\n  --location=us-central1 \\\n  --display-name=\"On-Premises App Connector\"\n\ngcloud beyondcorp app connections create hr-portal \\\n  --project=PROJECT_ID \\\n  --location=us-central1 \\\n  --application-endpoint=host=hr.internal.company.com,port=443 \\\n  --type=TCP_PROXY_TUNNEL \\\n  --connectors=projects\u002FPROJECT_ID\u002Flocations\u002Fus-central1\u002Fconnectors\u002Fonprem-connector\n\n# Enable security investigation tool for access anomaly detection\ngcloud logging read '\n  resource.type=\"iap_tunnel\"\n  jsonPayload.decision=\"DENY\"\n  timestamp >= \"2026-02-22T00:00:00Z\"\n' --project=PROJECT_ID --format=json --limit=100\n```\n\n### Step 6: Monitor and Audit BeyondCorp Access Decisions\n\nSet up comprehensive logging and alerting for zero trust policy enforcement.\n\n```bash\n# Create a log sink for IAP access decisions\ngcloud logging sinks create iap-access-audit \\\n  --destination=bigquery.googleapis.com\u002Fprojects\u002FPROJECT_ID\u002Fdatasets\u002Fbeyondcorp_audit \\\n  --log-filter='resource.type=\"iap_tunnel\" OR resource.type=\"gce_backend_service\"'\n\n# Query BigQuery for access pattern analysis\nbq query --use_legacy_sql=false '\nSELECT\n  protopayload_auditlog.authenticationInfo.principalEmail AS user,\n  resource.labels.backend_service_name AS application,\n  JSON_EXTRACT_SCALAR(protopayload_auditlog.requestMetadata.callerSuppliedUserAgent, \"$\") AS device,\n  protopayload_auditlog.status.code AS decision_code,\n  COUNT(*) AS request_count\nFROM `PROJECT_ID.beyondcorp_audit.cloudaudit_googleapis_com_data_access`\nWHERE timestamp > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 24 HOUR)\nGROUP BY user, application, device, decision_code\nORDER BY request_count DESC\nLIMIT 50\n'\n\n# Create an alert policy for repeated access denials\ngcloud alpha monitoring policies create \\\n  --display-name=\"BeyondCorp Repeated Access Denials\" \\\n  --condition-display-name=\"High denial rate\" \\\n  --condition-filter='resource.type=\"iap_tunnel\" AND jsonPayload.decision=\"DENY\"' \\\n  --condition-threshold-value=10 \\\n  --condition-threshold-duration=300s \\\n  --notification-channels=projects\u002FPROJECT_ID\u002FnotificationChannels\u002FCHANNEL_ID\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| BeyondCorp | Google's zero trust security framework that shifts access controls from network perimeter to per-request identity and device verification |\n| Identity-Aware Proxy (IAP) | Google Cloud service that intercepts HTTP requests and verifies user identity and device context before forwarding to backend applications |\n| Access Context Manager | GCP service that defines fine-grained attribute-based access control policies using access levels and service perimeters |\n| Endpoint Verification | Chrome Enterprise extension that collects device attributes (OS version, encryption, screen lock) for access level evaluation |\n| Access Levels | Named conditions in Access Context Manager that define minimum requirements (device posture, IP range, geography) for resource access |\n| Chrome Enterprise Premium | Google's commercial BeyondCorp offering providing threat protection, URL filtering, DLP, and continuous access evaluation |\n\n## Tools & Systems\n\n- **Google Cloud IAP**: Identity-aware reverse proxy enforcing per-request authentication and authorization for GCP-hosted applications\n- **Access Context Manager**: Policy engine defining access levels based on device attributes, IP ranges, and geographic locations\n- **Chrome Enterprise Premium**: Extended BeyondCorp capabilities including real-time threat protection and data loss prevention\n- **Endpoint Verification**: Device posture collection agent deployed as Chrome extension to all corporate endpoints\n- **BeyondCorp Enterprise Connectors**: Secure tunnel connectors enabling IAP protection for on-premises applications\n- **Cloud Audit Logs**: Immutable log records of all IAP access decisions for compliance and forensic analysis\n\n## Common Scenarios\n\n### Scenario: Migrating 50+ Internal Applications from VPN to BeyondCorp\n\n**Context**: A technology company with 3,000 employees uses Cisco AnyConnect VPN for accessing internal applications. The VPN introduces latency, creates a single point of failure, and grants excessive network access after authentication.\n\n**Approach**:\n1. Inventory all 50+ applications and categorize by hosting (GCP, on-prem, SaaS) and protocol (HTTPS, TCP, SSH)\n2. Deploy Endpoint Verification to all corporate devices and establish baseline device posture data over 2 weeks\n3. Create access levels in Access Context Manager: corporate-managed, contractor-device, high-trust\n4. Enable IAP on GCP-hosted HTTPS applications first (App Engine, Cloud Run, GKE services)\n5. Deploy BeyondCorp Enterprise connectors for on-premises applications\n6. Migrate users in 3 phases: IT\u002FEngineering (week 1-2), General staff (week 3-4), Executives\u002FFinance (week 5-6)\n7. Configure re-authentication policies: 8 hours for general apps, 1 hour for financial systems\n8. Set up BigQuery audit pipeline for continuous monitoring and anomaly detection\n9. Decommission VPN after 30-day parallel operation period\n\n**Pitfalls**: Some legacy applications may not support HTTPS proxying and require TCP tunnel mode. Device enrollment takes time; plan a 2-week onboarding period before enforcing device posture requirements. Break-glass accounts with bypassed access levels must be created and tested for identity provider outages.\n\n## Output Format\n\n```\nBeyondCorp Zero Trust Implementation Report\n==================================================\nOrganization: TechCorp Inc.\nImplementation Date: 2026-02-23\nMigration Phase: Phase 2 of 3\n\nACCESS ARCHITECTURE:\n  Identity Provider: Google Workspace\n  Access Proxy: Google Cloud IAP\n  Device Management: Chrome Enterprise + Endpoint Verification\n  Threat Protection: Chrome Enterprise Premium\n  On-Prem Connector: BeyondCorp Enterprise Connector (3 instances)\n\nACCESS LEVEL COVERAGE:\n  Access Level: corporate-managed\n    Devices enrolled:              2,847 \u002F 3,000 (94.9%)\n    Compliant devices:             2,712 \u002F 2,847 (95.3%)\n  Access Level: high-trust\n    Devices enrolled:              312 \u002F 350 (89.1%)\n    Compliant devices:             298 \u002F 312 (95.5%)\n\nAPPLICATION MIGRATION:\n  GCP HTTPS apps (IAP-protected):  32 \u002F 35 (91.4%)\n  On-prem apps (via connector):    12 \u002F 15 (80.0%)\n  SaaS apps (via SAML\u002FOIDC):       8 \u002F 8 (100%)\n  Total migrated:                  52 \u002F 58 (89.7%)\n\nSECURITY METRICS (last 30 days):\n  Total access requests:           1,247,832\n  Denied by IAP policy:            3,412 (0.27%)\n  Denied by access level:          1,208 (0.10%)\n  Re-authentication triggered:     45,219\n  Anomalous access patterns:       12 (investigated)\n  VPN-related incidents (before):  8\u002Fmonth\n  BeyondCorp incidents (after):    1\u002Fmonth\n\nVPN DECOMMISSION STATUS:\n  Parallel operation remaining:    14 days\n  Users still on VPN:              148 (5%)\n  Planned decommission:            2026-03-15\n```\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":41,"description":42,"mitre_attack":43},[26,27,28,29,30,31,32],"beyondcorp","zero-trust","google-cloud","iap","identity-aware-proxy","ztna","access-context-manager","mahipal","cybersecurity","1.0",[37,38,39,40],"PR.AA-01","PR.AA-05","PR.IR-01","GV.PO-01","zero-trust-architecture","Implement Google's BeyondCorp zero trust access model using Cloud IAP, Access Context Manager, Endpoint Verification, Chrome Enterprise Premium, and BeyondCorp Enterprise Connectors to enforce identity- and device-aware access for VPN-less application access. Use for replacing VPN, enforcing device posture checks, or securing remote\u002Fhybrid access to GCP-hosted or on-prem apps; not for raw network-level protocols.\n",[44,45,46,47,48],"T1078","T1190","T1059","T1078.004","T1530","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-beyondcorp-zero-trust-access-model",{"tool":64,"command":65},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-beyondcorp-zero-trust-access-model",{"tool":67,"command":68},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-beyondcorp-zero-trust-access-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FSKILL.md",true,[72,78,82,88,92,96,102],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"assets\u002Ftemplate.md","ASSET","资产文件",4929,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fassets\u002Ftemplate.md",{"path":79,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fapi-reference.md","REFERENCE","参考文档",1633,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fapi-reference.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fstandards.md",2762,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fstandards.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fworkflows.md",5100,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fworkflows.md",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fagent.py","SCRIPT","脚本",4902,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fscripts\u002Fagent.py",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fprocess.py",14683,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fscripts\u002Fprocess.py",[107,115,123,132,139,146],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]