Supported platforms
Prerequisites
- A GitGuardian workspace with access to the incidents you want to review.
- A Personal Access Token with the scopes for the data CloudThinker should reach.
- For honeytoken creation: a workspace Manager role.
A PAT inherits the scopes you grant it and the role of the workspace member who creates it. Mint it from a least-privileged member that still covers what CloudThinker needs.
Setup
1
Open GitGuardian
Sign in to your GitGuardian dashboard (US, EU, or your self-hosted URL).
2
Create a Personal Access Token
On the sidebar, click Settings, then go to API → Personal Access Tokens and click Create token:
- Name:
cloudthinker - Expiration: set a rotation window
- Scopes: select the scopes for the data CloudThinker should access (start with
incidents)
3
Add the connection in CloudThinker
Navigate to Connections → GitGuardian and enter:
- GitGuardian URL: your dashboard or instance URL
- Personal Access Token: the token you just created
Connection details
CloudThinker derives the API endpoint from the URL, so US, EU, and self-hosted forms all work without extra configuration.
Required permissions
GitGuardian access is scope-driven: each PAT scope unlocks the matching family of capabilities. If a capability is missing, the token usually lacks that scope rather than the connection being broken. Select the scopes for the data CloudThinker should reach. Start withincidents for incident triage and add others as needed.
Agent capabilities
Once connected, agents have scope-gated access to your GitGuardian workspace.Verify the connection
Example prompts
Troubleshooting
Some GitGuardian tools are missing
Some GitGuardian tools are missing
The PAT lacks the matching scope. Re-mint or update the token with the needed GitGuardian scope, then reconnect.
403 Forbidden from GitGuardian
403 Forbidden from GitGuardian
The token’s scope or workspace role is insufficient. Grant the required scope or workspace role. Honeytoken writes require the Manager role.
Wrong region or instance
Wrong region or instance
Incidents appear empty or the endpoint can’t be reached. Confirm the GitGuardian URL matches your workspace region (US, EU) or self-hosted instance.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Scope-driven access — grant only the scopes CloudThinker needs; prefer read-only access where a scope offers it.
- Manager role for writes — reserve Manager-role tokens for setups that must create honeytokens; keep honeytoken creation approval-gated.
Related
SonarQube Connection
Code quality and security scanning
Atlassian Connection
Track incidents as Jira issues