Skip to main content

PlanetScale OAuth Token

Description​

General​

  • Documentation: https://docs.planetscale.com/
  • Summary: PlanetScale is a MySQL compatible, serverless database platform. PlanetScale offers a CLI (pscale) and an API to programmatically manage the databases. This detector aims at catching OAuth tokens used to authenticate API calls.

Revoke the secret​

OAuth tokens are revoked via the API or CLI. If the token was generated by pscale login, use the command pscale logout.

Details for PlanetScale OAuth Token​

  • Family: oauth_token

  • Category: data_storage

  • Company: PlanetScale

  • High recall: True

  • Validity check available: True

  • Analyzer available: True

  • Revoker available: False

  • On-premise instances exist: False

  • Only valid secrets raise an alert: False

  • Occurrences found for one million commits: 0.04

  • Prefixed: True

Secret Analyzer​

Analysis Method​

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

HTTP Calls​

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

  • GET: /v1/organizations

Other Calls​

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