[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B72WDFCPC2ETM9WN40242X":3,"skill-same:01M7B72WDFCPC2ETM9WN40242X":102},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":13,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M7B72WDFCPC2ETM9WN40242X","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.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\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":24,"author":32,"domain":33,"license":14,"version":34,"nist_csf":35,"subdomain":40,"description":41,"mitre_attack":42},[25,26,27,28,29,30,31],"beyondcorp","zero-trust","google-cloud","iap","identity-aware-proxy","ztna","access-context-manager","mahipal","cybersecurity","1.0",[36,37,38,39],"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",[43,44,45,46,47],"T1078","T1190","T1059","T1078.004","T1530","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill implementing-beyondcorp-zero-trust-access-model",{"tool":60,"command":61},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill implementing-beyondcorp-zero-trust-access-model",{"tool":63,"command":64},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill implementing-beyondcorp-zero-trust-access-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FSKILL.md",true,[68,74,78,84,88,92,98],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"assets\u002Ftemplate.md","ASSET","资产文件",4929,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fassets\u002Ftemplate.md",{"path":75,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fapi-reference.md","REFERENCE","参考文档",1633,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fapi-reference.md",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fstandards.md",2762,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fstandards.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fworkflows.md",5100,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fworkflows.md",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fagent.py","SCRIPT","脚本",4902,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fscripts\u002Fagent.py",{"path":99,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fprocess.py",14683,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fscripts\u002Fprocess.py",[103,111,118,125,132,139],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]