Aller au contenu principal

Sourcegraph Access Token

Description​

General​

  • Documentation: https://docs.sourcegraph.com/api
  • Summary: Sourcegraph is a platform that allows to ease code reading, writing, and fixing. Some functionalities are powered by AI such as their coding assistant Cody. Two APIs are exposed, GraphQL and Stream.

Revoke the secret​

Secrets can be revoked from the platform user account.

Details for Sourcegraph Access Token v2​

  • Family: token

  • Category: code_analysis

  • Company: Sourcegraph

  • 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.2

  • Prefixed: True

Details for Sourcegraph Access Token v3​

  • Family: token

  • Category: code_analysis

  • Company: Sourcegraph

  • 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.05

  • Prefixed: True

Details for Sourcegraph Access Token v1​

  • Family: token

  • Category: code_analysis

  • Company: Sourcegraph

  • High recall: False

  • Validity check available: True

  • Analyzer available: True

  • Revoker available: False

  • On-premise instances exist: False

  • Only valid secrets raise an alert: True

  • Occurrences found for one million commits: very rare

  • Prefixed: False

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.

  • POST: /.api/graphql

Other Calls​

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