TOLMO_API_TOKEN in your CI provider’s secret store. Set TOLMO_ORG_SLUG to your organization slug.
GitHub Actions
This workflow installs the CLI into a known directory and prints open critical findings:.github/workflows/security.yml
run value with:
jq on the runner.
Start a pentest after each deploy
Production changes on every deploy. Start a Red team agent run when a deploy finishes, so the agent tests what you just shipped instead of waiting for the next scheduled run:.github/workflows/pentest-after-deploy.yml
tolmo red-agent for the full command.
GitLab CI
Store the API key and organization slug in Settings → CI/CD → Variables. Mark the API key as masked..gitlab-ci.yml
Configuration
TOLMO_API_TOKEN bypasses saved profiles. Set TOLMO_API_URL if you need an API URL other than https://api.tolmo.com. See Environment variables for precedence.
API keys can read published findings, create drafts, start Red team agent runs, and change the Red team agent schedule. User-only operations, including evidence attachments, require a user token and are not available with an organization API key.