跳转到内容

API 防护

API 防护架构图,涵盖 API 网关安全、影子 API 发现、速率限制以及基于 F5 Distributed Cloud 的模式验证。

API 网关在到达后端服务之前进行身份验证、授权、速率限制和模式验证。

flowchart LR
  client@{ icon: 'lucide:globe', label: 'API Client' }
  gw@{ icon: 'carbon:gateway-api', label: 'API Gateway' }
  auth@{ icon: 'lucide:key', label: 'Auth Service' }
  rate@{ icon: 'carbon:load-balancer-vpc', label: 'Rate Limiter' }
  api@{ icon: 'carbon:api', label: 'API Service' }
  db@{ icon: 'carbon:data-base', label: 'Database' }

  client --> gw
  gw --> auth
  auth --> gw
  gw --> rate
  rate --> api
  api --> db

F5 Distributed Cloud 提供 API 发现、影子 API 检测以及基于流量洞察的全面 API 安全防护。

flowchart TD
  traffic@{ icon: 'lucide:globe', label: 'API Traffic' }
  waap@{ icon: 'f5xc:web-app-and-api-protection', label: 'XC WAAP' }
  discover@{ icon: 'f5xc:application-traffic-insight', label: 'API Discovery' }
  scan@{ icon: 'f5xc:web-app-scanning', label: 'API Scanning' }
  intel@{ icon: 'f5xc:data-intelligence', label: 'Data Intelligence' }
  api@{ icon: 'carbon:api', label: 'API Endpoints' }

  traffic --> waap
  waap --> discover
  waap --> scan
  discover --> intel
  scan --> intel
  waap --> api

多阶段 API 请求验证流水线,包含 TLS、JWT 验证、速率限制和载荷检测。

architecture-beta
  group security(lucide:shield)[API Security Layer]
  group backend(carbon:cloud-services)[Backend Services]

  service tls(lucide:lock)[TLS Termination] in security
  service jwt(lucide:key)[JWT Validation] in security
  service rate(carbon:load-balancer-vpc)[Rate Limiter] in security
  service schema(carbon:gateway-security)[Schema Validation] in security
  service api1(carbon:api)[Users API] in backend
  service api2(carbon:api)[Orders API] in backend

  tls:R --> L:jwt
  jwt:R --> L:rate
  rate:R --> L:schema
  schema:R --> L:api1
  schema:B --> T:api2