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.
- IPs allowlist: This feature is not supported.
- Scopes: All keys have the same permissions.
Revoke the secret
Secrets can be revoked from the platform user account.
Check for suspicious activity
This feature is not supported.
Details for Sourcegraph token
Family: Api
Category: Code analysis
Company: Sourcegraph
High recall: True
Validity check available: True
On-premise instances exist: False
Only valid secrets raise an alert: False
Minimum number of matches: 1
Occurrences found for one million commits: 0.2
Prefixed: True
PreValidators:
- type: ContentWhitelistPreValidator
patterns:
- sgp_
Examples
- text: |
sourcegraph
apikey = 'sgp_2ujhzwnv8zcd1nms2tj7qxschc6aji0xurdcyw4z'
apikey: sgp_2ujhzwnv8zcd1nms2tj7qxschc6aji0xurdcyw4z