Files
Anthropic-Cybersecurity-Skills/skills/implementing-zero-trust-network-access/references/api-reference.md
T
mukul975 27c6414ca5 Add folder anatomy (scripts/agent.py + references/api-reference.md) for 648 cybersecurity skills
Complete skill folder anatomy across all cybersecurity skills:
- scripts/agent.py: 80-150 line Python agents using real libraries (impacket,
  boto3, azure-mgmt-*, kubernetes, pefile, yara, scapy, shodan, stix2, etc.)
- references/api-reference.md: real API documentation with method signatures
- LICENSE: MIT license for all skill folders
2026-03-10 21:02:12 +01:00

2.7 KiB

API Reference: Implementing Zero Trust Network Access

AWS Verified Access API

Operation Description
ec2.create_verified_access_instance() Create a Verified Access instance for ZTNA
ec2.create_verified_access_trust_provider() Register OIDC or device trust provider
ec2.create_verified_access_group() Create access group with Cedar policy
ec2.create_verified_access_endpoint() Expose internal app through Verified Access
ec2.describe_verified_access_instances() List all Verified Access instances
ec2.modify_verified_access_instance_logging_configuration() Enable CloudWatch or S3 logging

GCP Identity-Aware Proxy API

Operation Description
gcloud iap web enable Enable IAP on App Engine or backend service
gcloud iap web add-iam-policy-binding Grant IAP access to users or groups
gcloud access-context-manager levels create Create device/context access levels
compute.backendServices.get() Check IAP status on backend services

Azure Conditional Access (MS Graph)

Endpoint Method Description
/identity/conditionalAccess/policies POST Create conditional access policy
/identity/conditionalAccess/policies/{id} PATCH Update policy conditions or grants
/identity/conditionalAccess/namedLocations GET List trusted network locations

AWS Security Groups (Micro-Segmentation)

Operation Description
ec2.describe_security_groups() Audit ingress/egress rules for open CIDR ranges
ec2.authorize_security_group_ingress() Add least-privilege ingress rule by source SG
ec2.revoke_security_group_ingress() Remove overly permissive rules

Key Libraries

  • boto3: AWS SDK for Python — Verified Access and EC2 security group APIs
  • google-cloud-compute: GCP Compute client for backend service IAP checks
  • azure-identity + azure-mgmt-network: Azure Private Endpoint management
  • msgraph-sdk: Microsoft Graph SDK for Conditional Access policies

Configuration

Variable Description
AWS_PROFILE AWS CLI profile with ec2:Describe* and ec2:Create* permissions
GOOGLE_CLOUD_PROJECT GCP project ID for IAP configuration
AZURE_TENANT_ID Azure AD tenant for Conditional Access policies

References