Aller au contenu principal

Cloudflare API Token

Description​

General​

  • Documentation: https://api.cloudflare.com/
  • Summary: Cloudflare protects and accelerates websites, providing CDN services, DDoS mitigation, network security and DNS. Cloudflare's API exposes the entire Cloudflare infrastructure via a standardized programmatic interface : anything that can be done on cloudflare.com dashboard can be done using the API : that's the reason why Cloudflare credentials are highly sensitive. The API provides multiple ways to authenticate:
  • With an API token
  • With a CA Key
  • With a Global API Key associated to an email address.

Revoke the secret​

An API token can be revoked via cloudflare's dashboard or with the API, see this documentation for more details. The Global API key and CA keycan only be changed from Cloudflare's dashboard

Details for Cloudflare API Token​

  • Family: token

  • Category: cdn

  • Company: Cloudflare

  • High recall: False

  • Validity check available: True

  • Analyzer available: True

  • Revoker available: True

  • On-premise instances exist: False

  • Only valid secrets raise an alert: True

  • Occurrences found for one million commits: 2.16

  • Prefixed: False

Details for Cloudflare API Token V2​

  • Family: token

  • Category: cdn

  • Company: Cloudflare

  • High recall: False

  • Validity check available: True

  • Analyzer available: True

  • Revoker available: True

  • On-premise instances exist: False

  • Only valid secrets raise an alert: True

  • Occurrences found for one million commits: 0.906

  • Prefixed: False

Secret Analyzer​

Analysis Method​

  • Provider allows scopes enumeration: False
  • Total network call count: 8
  • Total call count may vary: True

HTTP Calls​

Requests are designed to capture metadata and not to function effectively.

  • GET: /client/v4/accounts/***/tokens/verify
  • GET: /client/v4/accounts
  • GET: /client/v4/user/billing/profile
  • GET: /client/v4/user/tokens/verify
  • GET: /client/v4/user
  • GET: /client/v4/zones

Other Calls​

Non-HTTP queries or HTTP calls made through a third-party app (e.g., Python package). No other calls for this analyzer.