[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73CFAWTMG6CZQBH2NPWCEW3":3,"skill-same:01M73CFAWTMG6CZQBH2NPWCEW3":110},{"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":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M73CFAWTMG6CZQBH2NPWCEW3","implementing-beyondcorp-zero-trust-access-model",null,"Implementing Google's BeyondCorp zero trust access model to eliminate implicit trust from the network perimeter, enforce identity-aware access controls using IAP, Access Context Manager, and Chrome Enterprise Premium for VPN-less secure application access.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: implementing-beyondcorp-zero-trust-access-model\ndescription: 'Implementing Google''s BeyondCorp zero trust access model to eliminate\n  implicit trust from the network perimeter, enforce identity-aware access controls\n  using IAP, Access Context Manager, and Chrome Enterprise Premium for VPN-less secure\n  application access.\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\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\nnote: \"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.\"\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,"note":25,"tags":26,"author":34,"domain":35,"source":36,"license":15,"version":37,"nist_csf":38,"subdomain":43,"description":44,"mitre_attack":45,"source_commit":51},"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.",[27,28,29,30,31,32,33],"beyondcorp","zero-trust","google-cloud","iap","identity-aware-proxy","ztna","access-context-manager","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0",[39,40,41,42],"PR.AA-01","PR.AA-05","PR.IR-01","GV.PO-01","zero-trust-architecture","Implementing Google's BeyondCorp zero trust access model to eliminate implicit trust from the network perimeter, enforce identity-aware access controls using IAP, Access Context Manager, and Chrome Enterprise Premium for VPN-less secure application access.\n",[46,47,48,49,50],"T1078","T1190","T1059","T1078.004","T1530","04450304b12645cb2b974ab96d28c0664758a88d","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill implementing-beyondcorp-zero-trust-access-model",{"tool":68,"command":69},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill implementing-beyondcorp-zero-trust-access-model",{"tool":71,"command":72},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill implementing-beyondcorp-zero-trust-access-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002FSKILL.md",true,[76,82,86,92,96,100,106],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"assets\u002Ftemplate.md","ASSET","资产文件",4929,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fassets\u002Ftemplate.md",{"path":83,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fapi-reference.md","REFERENCE","参考文档",1633,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fapi-reference.md",{"path":93,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fstandards.md",2762,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fstandards.md",{"path":97,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fworkflows.md",5100,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Freferences\u002Fworkflows.md",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fagent.py","SCRIPT","脚本",4902,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fscripts\u002Fagent.py",{"path":107,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fprocess.py",14683,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-beyondcorp-zero-trust-access-model\u002Fscripts\u002Fprocess.py",[111,119,126,134,142,150],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":138,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":146,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]