# Use Tolmo from your coding agent Source: https://docs.tolmo.com/agents/coding-agents Install the Tolmo skill so that Claude Code, Codex, and other compatible coding agents can read your findings, query production, and fix the issues that Tolmo proves. Tolmo's agents find and prove the issues that are exploitable. Your coding agent writes the fix. You can connect the two in two ways: * **The fix prompt.** You copy one finding into a coding agent. This needs no setup. See [Fix a finding](/pentesting/fix). * **The Tolmo skill.** The skill teaches your coding agent the Tolmo CLI. The agent can then find findings, query the knowledge graph, and clone the affected repository. ## Install the skill The Tolmo skill is a Markdown command reference for compatible coding agents. It gives the CLI syntax for infrastructure queries, findings review, repository access, and connected services. The agent runs commands with your Tolmo credentials and permissions. 1. [Install the CLI](/cli/installation) and [sign in](/cli/authentication). 2. Install the skill and check it: ```bash theme={null} tolmo skill install tolmo skill status ``` The installer writes the CLI reference and the finding-format guide to these files: * `~/.claude/skills/tolmo/SKILL.md` * `~/.agents/skills/tolmo/SKILL.md` * `~/.claude/skills/tolmo-finding-format/SKILL.md` * `~/.agents/skills/tolmo-finding-format/SKILL.md` Claude Code reads `~/.claude/skills`. Codex and other agents that follow the shared convention read `~/.agents/skills`. Homebrew installs only the CLI binary. After a Homebrew install, run `tolmo skill install`. ### What each skill does | Skill | What it teaches your agent | | - | - | | `tolmo` | The Tolmo CLI: findings, SQL and Cypher, repositories, connected services. | | `tolmo-finding-format` | How to write a finding body in Tolmo's format. Your agent uses it when it [reports an issue](/pentesting/triage) that it found. | ## What to ask your agent After you install the skill, ask your agent in plain language. The agent selects the commands. For example: * *"List my open critical and high findings and group them by repository."* * *"Open the finding about the password reset endpoint, read the evidence, and fix it in this repo. Then tell me how to verify the fix."* * *"Which of my findings touch this repository?"* * *"What new hosts did Tolmo see this week, and do any of them have open findings?"* * *"Clone the repository that serves `api.example.com` and find where `POST /api/auth/reset-password` is handled."* Your agent reads data with your permissions. If you let it, your agent can also change the status of a finding. For example, it can set the status to **In review** after it opens a PR. > [!TIP] > > The skill tells your agent to use `--intent` on each graph query. Your audit log then records the purpose of each query. See [SQL and Cypher](/knowledge-graph/sql-cypher). ## Fix-and-retest workflow The full workflow from a coding agent is: 1. You tell your agent to fix a finding. The agent reads the evidence with `tolmo findings get `. Or, you paste the fix prompt. 2. The agent proposes the smallest change that closes the issue. Then it opens a PR. 3. You move the finding to **In review**. You add the PR link. 4. After the fix ships, you [retest the finding](/pentesting/retest). Green replays the original exploit. It confirms that the exploit no longer works. ## Update the skill After you update the CLI, install the bundled skill again: ```bash theme={null} tolmo update tolmo skill install ``` `tolmo skill status` shows the installation state for each supported directory. # Mission Control and agent runs Source: https://docs.tolmo.com/agents/mission-control See what changed in production and what your agents did about it. Review the activity feed, filter agent runs, and examine a run from the web app or the CLI. Findings show the security issues that you have. Mission Control shows the changes in production and the actions of your agents. Mission Control has two views: * The **Mission Control** activity feed. * **Agent Runs**, the history of all agent runs. ## Mission Control: the activity feed ![The Mission Control activity feed. A stacked histogram shows events over three days. Below it, a filter panel lists event types such as alert, vulnerability, code change, CI, and resource. The table shows the time, event type, description, agents, and findings for each event.](https://mintcdn.com/tolmo/7vlOnd-Q0dNpaHkM/images/platform/mission-control.png?fit=max\&auto=format\&n=7vlOnd-Q0dNpaHkM\&q=85\&s=9d6158c36d4bb62e4d3613f45544868e) Mission Control. The histogram shows production events over time. Each row shows one event, the agents that work on it, and its findings. Mission Control shows events when they occur in your connected environment. An event is a change or an arrival. Examples of events are: * a new finding or an alert from a connected tool * a code change or a CI event * a new or changed compute, datastore, network, identity, or secret resource Each row shows the agents that work on the event. Each row also shows if the agents are still working on it. A histogram above the feed shows activity over time. To zoom into a time range, drag across the histogram. To filter the feed, use the event type, the agent, or the finding status. The feed refreshes automatically. You can also read the feed through the API. See [List activity events](/api-reference/activity-feed/list-activity-events). ## Agent runs **Agent Runs** shows all runs of all agents. ![The Agent runs table with the Red Agent filter active, showing run id, agent, trigger, status, result and start time for each run.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/mission-control-red-runs.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=275405a8fab42a7e2a11638b9fdabb23) Agent runs, filtered to Red. The filter is part of the link, so you can share the filtered view. | Column | What it shows | | - | - | | **Run** | The ID of the run. The target of the run is below the ID. | | **Trigger** | The cause of the run: a schedule, an event rule, or a person. | | **Status** | The state of the run: **Running**, **Completed**, or **Failed**. | | **Result** | The conclusion of the run. It shows the number of issues that the run reproduced. It also shows if a check did not complete, or if the run reproduced nothing. A completed run can contain a failed check. | | **Started** | The start time of the run, and its duration. | You can filter runs by agent: **Red team**, **Blue team**, or **Green team**. You can also filter by status. You can also filter by findings: **Has findings** or **No findings**. > [!NOTE] > > A failed check is a probe that did not complete. It shows a gap in coverage. It is not a vulnerability. The **Result** column shows failed checks, so you can see where coverage stopped. ### Examine a run Each run has a detail page. The page shows: * **Run stages**: the current stage of the run in its pipeline. This updates during the run. * **Endpoint coverage**: the routes that the run tested. * **Findings**: the names of the findings that the run touched. A run refers to a finding. It does not copy the finding. An issue can go through Red, Blue, and Green. In that case, it stays one finding with several runs. ### Stop a run You can stop a run from its detail page. Tolmo then stops the workflow of the run and deletes its sandbox. You cannot undo this. You can stop a run only while its status is **Running**. ## From the CLI To show recent runs, use these commands: ```bash theme={null} tolmo red-agent runs --days 7 --run-status completed --json tolmo blue-agent runs --days 7 --severity high,critical --json ``` Both commands accept these filters: | Flag | Behavior | | - | - | | `--days` | Runs that started in the last N days | | `--severity` | Comma-separated severities | | `--run-status` | Comma-separated `running`, `completed`, or `failed` values | | `--limit` | Page size from `1` to `200`; defaults to `100` | | `--offset` | Number of matching runs to skip; defaults to `0` | Each JSON response contains `items` and `total`. To get the next pages, increase `--offset`. `tolmo blue-agent runs` also accepts two more flags: * `--scope`: comma-separated target hostnames. * `--search`: a run ID or a workflow ID. To examine one Blue run, use this command: ```bash theme={null} tolmo blue-agent runs show tolmo blue-agent runs show --json ``` The identifier can be a scan ID, a `RUN-` prefix, or a workflow ID. The detail view shows the execution stages of the run. A completed run does not mean that the agent confirmed a finding. Always examine the result and the linked [finding](/pentesting/findings). To start or schedule Red runs from the CLI, see the [`red-agent` command reference](/cli/commands/red-agent). # Notifications Source: https://docs.tolmo.com/agents/notifications Send new findings and agent activity to Slack channels, and get a daily or weekly email digest. Your agents work when nobody monitors the dashboard. Notifications tell you about new findings. They can also tell you when an agent starts a live test against your production. You set notifications one time for the whole organization. Only organization admins can change them. ## Slack Connect Slack. Then select the channels that receive security notifications. Each channel gets new findings when Tolmo finds them. Each channel also gets a daily digest each morning. ### Route findings to channels Add one or more channels. Then select the scope for each channel: | Scope | What the channel gets | | - | - | | **Everything** | Each new finding when Tolmo finds it, and a daily digest with all of them. | | **High & critical only** | Only the findings that need immediate attention, and a short daily digest. | For example, send **High & critical only** to your on-call channel. Send **Everything** to the channel of your security team. The default scope applies only to the channels that you add after you set it. It does not change existing channels. ### Agent triggers Enable **Agent triggers** to post to Slack when an agent starts a run. The Red team agent and the Blue team agent each have a toggle. Both toggles are off by default. Enable them if your team wants a warning before testing traffic gets to production. For example, your monitoring team can then tell testing traffic from a real attack. ## Email Email sends finding updates to your inbox. Enable email. Then select a cadence: | Cadence | What you get | | - | - | | **Daily digest** | Each day, a summary of new findings and their severity. | | **Weekly recap** | Each Friday, a summary of new findings and their severity. You get it also in the weeks with no findings. | Email has no severity filter. Each digest contains all new findings. > [!NOTE] > > The weekly recap arrives also when the agents find nothing. It shows you that the agents ran. ## Related * [Mission Control](/agents/mission-control) shows all the work of your agents. This includes work that sent no notification. * [Keep up with production changes](/pentesting/production-changes) explains when the agents run. This tells you when Tolmo can send notifications. # Agents overview Source: https://docs.tolmo.com/agents/overview Tolmo's security agents test production, validate findings from your other tools, and recheck fixes. All agents use one findings model and one scope. Tolmo has three security agents. Each agent has one job. The agents send findings to each other: | Agent | Its job | When it runs | | - | - | - | | **Red team agent** | Pentests your apps. It attacks your authorized domains from the outside. It reports only the issues that it can exploit. | On its schedule, or on demand | | **Blue team agent** | Verifies new findings from your other security tools. For each finding, it gives a proof of exploitation or a reasoned "not exploitable". | When a matching finding arrives, or on a schedule that you set | | **Green team agent** | Rechecks exploited findings. It finds out if the issue is still present. | When you retest a finding that has a working exploit | ## How the agents work together ![Platform diagram. The production knowledge graph is the data plane. Mission Control is the control plane and receives production events such as deployments and code changes. Mission Control sends work to a group of agents. The agents read the knowledge graph and produce findings and threats.](https://mintcdn.com/tolmo/7vlOnd-Q0dNpaHkM/images/platform/overview.png?fit=max\&auto=format\&n=7vlOnd-Q0dNpaHkM\&q=85\&s=8509f3f20c7d3945deecea243e580056) The Tolmo platform. Mission Control receives production events and sends work to the agents. The agents read the production knowledge graph and produce findings. ```mermaid theme={null} flowchart LR R[Red proves an exploit] --> F[One finding] B[Blue proves a third-party alert] --> F F --> X[You fix it] X --> G[Green rechecks] ``` A finding is one record. This is true for all agents. For example, Blue can prove a Wiz alert, or Green can recheck a Red finding. In both cases, the runs attach to the same finding. You do not have to merge duplicate findings from different agents. All agents also use the same scope. The scope contains the authorized domains, the test accounts, and the instructions. When you revoke a domain, the next run of each agent does not test it. See [Define scope](/pentesting/scope). A finding gets the validated status only after an agent reproduces it. The agent also keeps the request that worked. ## Configure the agents These settings apply to all agents: | Setting | What it controls | | - | - | | **Scope** | The hostnames that the agents can test. | | **Credentials** | The test logins that the agents can use. | | **Other instructions** | Notes that the agents read on each run. | | **Allow state-changing requests** | Whether the agents can send `PUT`, `PATCH`, or `DELETE` requests. | | **Notifications** | Where Tolmo announces new findings and agent activity. | **Triggers** start the agents automatically. The triggers are the Red schedule and the rules that start Blue. To select triggers, see [Keep up with production changes](/pentesting/production-changes). ## Monitor the agents [Mission Control](/agents/mission-control) shows the current work and the past work of your agents. [Notifications](/agents/notifications) tell you in Slack or email when a finding needs attention. ## Use your own coding agent After Tolmo proves a problem, your coding agent can write the fix. Install the Tolmo skill on Claude Code, Codex, or another compatible agent. Then the agent can read your findings and query your production. See [Use Tolmo from your coding agent](/agents/coding-agents). ## Background assessments Tolmo also runs background assessments on the [knowledge graph](/knowledge-graph/overview). For example, an assessment classifies the data in a datastore. These assessments keep the graph current when production changes. You do not configure them. They do not touch your applications. # List activity events Source: https://docs.tolmo.com/api-reference/activity-feed/list-activity-events /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/activity-feed/events Cursor-paginated Mission Control activity events. Filters are applied before the page limit; follow nextCursor until null. # Authenticate to the Tolmo API with an API key Source: https://docs.tolmo.com/api-reference/authentication Create an API key in the Tolmo app, send it as a bearer credential, and understand how keys and user tokens expire and are revoked. Every Tolmo API request carries a bearer credential in the `Authorization` header: ```bash theme={null} curl https://api.tolmo.com/api/v1/orgs/acme/findings \ -H "Authorization: Bearer $TOLMO_API_TOKEN" ``` A request with no credential, an unknown credential, or an expired credential returns `401`. ## Get an API key An API key is scoped to one organization rather than to a person, which is what you want for automation — it keeps working when the person who created it changes roles or leaves. **1. Open API keys** Go to [API keys](https://app.tolmo.com/settings/api-keys) in the Tolmo app (**Settings → API keys**). **2. Create a key** Click **Create key**. Give it a name you will recognize later, such as the pipeline or service that will use it. **3. Copy it immediately** The key is shown **once, at creation**. Copy it then — it cannot be retrieved afterwards. **4. Send it on every request** Export it with your org slug, then pass it as a bearer credential: ```bash theme={null} export TOLMO_API_TOKEN="api_tok...." export TOLMO_ORG_SLUG="acme" ``` An API key is scoped to its organization. Endpoint-specific permissions still apply, and user-only endpoints reject API keys. For example, a key created this way carries ordinary member permissions, so it can read published findings and create drafts, but it cannot publish one. Evidence attachments and user membership endpoints require a user token. > [!NOTE] > > Keys created before this credential was renamed begin with `org_tok.` instead of `api_tok.`. They remain valid and need no action — authentication is by a hash of the whole value, so the prefix is only a label. > [!WARNING] > > Store API keys in your CI provider's secrets vault. Never commit one to source control or paste it into a workflow file — a leaked `api_tok.` is valid for your whole organization until it is revoked. ## Credential types Tolmo issues two kinds of credential. You can tell them apart by their prefix. | Prefix | Type | Acts as | Use it for | | - | - | - | - | | `api_tok.` | API key | The organization, not a person | CI pipelines, servers, scheduled jobs | | `usr_tok.` | User token | You, with your own permissions | Local development, scripts you run yourself | ### User tokens (`usr_tok.`) A user token represents *you*. It resolves your permissions on every request, so it sees exactly what you see in the app — no more. Get one by logging in with the CLI: ```bash theme={null} tolmo auth login ``` The token is stored in your profile under `~/.tolmo/`. Read it from there, or set it explicitly with the `TOLMO_API_TOKEN` environment variable. User tokens are deliberately short-lived: * They **expire seven days** after they are minted. * They also expire after **three days of inactivity**, whichever comes first. Both windows are evaluated against the database clock, so a token cannot be extended by a client with a skewed clock. When a token lapses, run `tolmo auth login` again. ## What a credential can see Authorization is enforced at the data layer, not only in the route handler, so a credential cannot reach around the API to read data it should not see — including through the SQL and openCypher query endpoints. Two consequences worth designing around: * Findings that are still **drafts** are not visible to ordinary callers. You will see published findings, plus ingested ones. * An `/orgs/{orgSlug}/...` path for any organization other than your own is rejected. Inside your own organization, a resource id you cannot see returns **`404`** — the API will not confirm that it exists elsewhere. ## Revoking a credential Revoke the user token you are currently authenticated with: ```bash theme={null} tolmo auth logout ``` Logout attempts server-side revocation and clears the local cache. If revocation fails, the CLI prints a warning; clearing the cache alone does not invalidate the remote token. API keys are revoked under [API keys](https://app.tolmo.com/settings/api-keys) in **Settings**. Revocation is recorded rather than deleted, so the list stays an audit trail of what was issued and what happened to it. If you believe a key has leaked, revoke it first and investigate afterwards — revocation takes effect on the next request. ## Choosing between them > [card] Use an API key > > The caller is a pipeline, a server, or a scheduled job that must keep running unattended and outlive any one person's account. Create one under [API keys](https://app.tolmo.com/settings/api-keys). > [card] Use a user token > > You are exploring the API, writing a script you run yourself, or want every call attributed to you and limited to your own access. # Clone a repository Source: https://docs.tolmo.com/api-reference/code/clone-a-repository /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/code/clone Download a bare git repo archive from storage or a live GitHub PR ref # Download a repository archive Source: https://docs.tolmo.com/api-reference/code/download-a-repository-archive /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/code/clone/{owner}/{repo} Download a bare git repo as a tar archive from S3 # List code repositories Source: https://docs.tolmo.com/api-reference/code/list-code-repositories /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/code/repositories List code repositories with clone availability # List connected services Source: https://docs.tolmo.com/api-reference/connected-services/list-connected-services /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/connected-services List connected integrations available for querying via the proxy # Proxy a raw AWS request Source: https://docs.tolmo.com/api-reference/connected-services/proxy-a-raw-aws-request-delete /api-reference/openapi.json delete /api/v1/orgs/{orgSlug}/connected-services/provider/aws/raw-proxy/{*} Re-sign and forward raw AWS HTTP requests from the CLI local proxy # Proxy a raw AWS request Source: https://docs.tolmo.com/api-reference/connected-services/proxy-a-raw-aws-request-get /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/connected-services/provider/aws/raw-proxy/{*} Re-sign and forward raw AWS HTTP requests from the CLI local proxy # Proxy a raw AWS request Source: https://docs.tolmo.com/api-reference/connected-services/proxy-a-raw-aws-request-patch /api-reference/openapi.json patch /api/v1/orgs/{orgSlug}/connected-services/provider/aws/raw-proxy/{*} Re-sign and forward raw AWS HTTP requests from the CLI local proxy # Proxy a raw AWS request Source: https://docs.tolmo.com/api-reference/connected-services/proxy-a-raw-aws-request-post /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/connected-services/provider/aws/raw-proxy/{*} Re-sign and forward raw AWS HTTP requests from the CLI local proxy # Proxy a raw AWS request Source: https://docs.tolmo.com/api-reference/connected-services/proxy-a-raw-aws-request-put /api-reference/openapi.json put /api/v1/orgs/{orgSlug}/connected-services/provider/aws/raw-proxy/{*} Re-sign and forward raw AWS HTTP requests from the CLI local proxy # Proxy a request to a provider Source: https://docs.tolmo.com/api-reference/connected-services/proxy-a-request-to-a-provider /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/connected-services/provider/{provider}/proxy Proxy a read-only request to an external API through a connected integration # Run an AWS CLI command Source: https://docs.tolmo.com/api-reference/connected-services/run-an-aws-cli-command /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/connected-services/provider/aws/execute Execute an AWS CLI command server-side using the org's connected AWS integration # Run a Cypher query Source: https://docs.tolmo.com/api-reference/cypher/run-a-cypher-query /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/cypher Execute an openCypher query (org-scoped, read-only, temporary). Automated and agent callers must send `intent`: one short sentence naming the specific question this query should answer and how the result will guide the next step. It never changes the query or its results; when set, it is attached to the request trace in APM and to the security audit log of rejected queries, so automated traffic has an attributable purpose. # Create a Datadog monitor Source: https://docs.tolmo.com/api-reference/datadog-monitors/create-a-datadog-monitor /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/datadog/monitors Create a Datadog monitor through Tolmo's managed Datadog integration. # Delete a Datadog monitor Source: https://docs.tolmo.com/api-reference/datadog-monitors/delete-a-datadog-monitor /api-reference/openapi.json delete /api/v1/orgs/{orgSlug}/datadog/monitors/{monitorId} Delete a Tolmo-managed Datadog monitor. This removes the monitor in Datadog itself. # Get a Datadog monitor Source: https://docs.tolmo.com/api-reference/datadog-monitors/get-a-datadog-monitor /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/datadog/monitors/{monitorId} Fetch one Tolmo-managed Datadog monitor by its Datadog monitor id. # List Datadog monitors Source: https://docs.tolmo.com/api-reference/datadog-monitors/list-datadog-monitors /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/datadog/monitors List the Datadog monitors Tolmo manages for this organization. Requests are proxied to Datadog with platform-held credentials, so no Datadog API key is needed. # Update a Datadog monitor Source: https://docs.tolmo.com/api-reference/datadog-monitors/update-a-datadog-monitor /api-reference/openapi.json patch /api/v1/orgs/{orgSlug}/datadog/monitors/{monitorId} Update the definition of an existing Tolmo-managed Datadog monitor. # Export the domain inventory Source: https://docs.tolmo.com/api-reference/domains/export-the-domain-inventory /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/domains/export Download canonical (primary) domain inventory as CSV or JSON. One row per hostname, same filters as the list (`q`, lifecycle, dns, web, source). Omits Attack Surface / candidates and bookkeeping evidence sources. Ordered by apex then FQDN. # List apex domains Source: https://docs.tolmo.com/api-reference/domains/list-apex-domains /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/domains/apexes List apex domains with an exact organization-wide subdomain total, host counts, and collapsed-row summaries (apex host, probe snapshots, first/last seen) for canonical domain inventory. Ordered by apex ASC. Offset pagination via page + limit. # List descendant probe aggregates Source: https://docs.tolmo.com/api-reference/domains/list-descendant-probe-aggregates /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/domains/descendant-probes Complete probe aggregates for every intermediate parent under one apex (Postgres; not Attack Surface). Same filters as the host list. Not paginated — one row per parent with grouped subdomainProbes (capped) and subdomainCount. # List domains Source: https://docs.tolmo.com/api-reference/domains/list-domains /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/domains List hostnames (Postgres; not Attack Surface). Ordered by apex then FQDN. Optional apexDomain scopes to one apex. Offset pagination via page + limit. # Tolmo API Error Responses and Status Codes Source: https://docs.tolmo.com/api-reference/errors Read the Tolmo API error body, understand what each status code means, and handle retries, precondition failures, and permission errors correctly. Tolmo signals failure with the HTTP status code. Most API errors return a JSON body describing what went wrong. Some endpoints and provider proxies use a different error shape; check the HTTP status and the endpoint schema. ## Error shape ```json theme={null} { "statusCode": 404, "error": "Not Found", "message": "Finding not found" } ``` | Field | Type | Description | | - | - | - | | `statusCode` | number | The HTTP status code, repeated in the body | | `error` | string | The status code's reason phrase, for example `Not Found` | | `message` | string | A human-readable explanation of this specific failure | | `code` | string | A machine-readable identifier, present on some errors | | `validation` | array | Present on schema validation failures; one entry per offending field | Branch on the HTTP response status, and on `code` where an endpoint documents one. Treat `message` as text for a human — it is written to be read, and its wording may change. ## Status codes | Code | Meaning | What to do | | - | - | - | | `400` | The request failed validation — a malformed body, an unknown enum value, or a parameter outside its allowed range | Fix the request. Retrying unchanged will fail again | | `401` | The token is missing, unrecognized, or expired | Re-authenticate. For a user token, run `tolmo auth login` | | `403` | The token is valid but lacks permission for this operation, or the `{orgSlug}` in the path is not the token's organization | Check the org slug, or use a token with the right role. Do not retry | | `404` | The resource does not exist — **or** it exists in an organization your token cannot see | Check the id and the org slug. See below | | `409` | The request conflicts with the resource's current state, such as an invalid status transition | Re-read the resource and reconcile before retrying | | `412` | A precondition was not met — a required prior step has not completed | Satisfy the precondition, then retry | | `503` | A dependency Tolmo relies on is unavailable | Retry with backoff | ### `404` versus `403` An API key is bound to one organization. Using it against any other `{orgSlug}` is rejected with `403`, regardless of what that slug is — check that the slug in your path is your own. Inside your own organization, a `404` on a resource id means one of two things, and the API will not tell you which: * the id is wrong, or * the resource belongs to another organization. Check the org slug in your path before assuming the id is bad. Within an organization you *can* see, `403` also means your role is insufficient for this operation. Creating a finding as a *published* one with an ordinary member token returns `403`; creating it as a draft succeeds. ## Retrying Retry `503`, and `429` if you receive one, with exponential backoff. Do not blindly retry `400`, `401`, `403`, or `404` — none of them will succeed on a second identical attempt. Writes are not automatically idempotent. If a write times out and you cannot tell whether it landed, re-read the resource before sending it again rather than risking a duplicate. ## Validation errors Request validation runs from the same schemas that generate this reference, so a `400` almost always means the request disagrees with a documented parameter or body schema. Validation failures carry an extra `validation` array alongside the usual fields — one entry per offending field, so you can report every problem at once instead of fixing them one request at a time: ```json theme={null} { "statusCode": 400, "error": "Bad Request", "message": "...", "validation": [ { "keyword": "too_big", "instancePath": "/limit", "schemaPath": "#/limit/too_big", "message": "Too big: expected number to be <=100", "params": { "origin": "number", "maximum": 100, "inclusive": true } } ] } ``` `instancePath` points at the field, `keyword` is the validation rule it broke, and `params` carries that rule's bounds. Check the endpoint's parameter table for each field's type and limits. # Count findings by saved view Source: https://docs.tolmo.com/api-reference/external-findings/count-findings-by-saved-view /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/external-findings/views Return counts for the saved finding views visible to the caller, with the time the counts were computed. # Get a unified finding Source: https://docs.tolmo.com/api-reference/external-findings/get-a-unified-finding /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/external-findings/{externalFindingId} Fetch a Tolmo-authored or third-party finding by its unified finding ID, including its description and assessment history. Returns 404 when the finding is not visible to the caller. # Import third-party findings Source: https://docs.tolmo.com/api-reference/external-findings/import-third-party-findings /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/external-findings Import findings under a provider and stable source name. Reusing the same provider, source, and external ID updates the existing record. Returns the imported finding IDs. # Create a finding Source: https://docs.tolmo.com/api-reference/findings/create-a-finding /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/findings Create a finding. Regular human tokens and purposeless customer automation tokens may create drafts but cannot publish; platform-minted agent-run tokens, verified super-admins, and scoped pentesters may publish. Accepts optional `sourceAgentName` provenance for agent-authored drafts. # Delete a finding attachment Source: https://docs.tolmo.com/api-reference/findings/delete-a-finding-attachment /api-reference/openapi.json delete /api/v1/orgs/{orgSlug}/findings/{findingId}/attachments/{attachmentId} Permanently delete one attachment. Because it is irreversible, the caller must be the attachment's uploader or an effective super-admin. # Download a finding attachment Source: https://docs.tolmo.com/api-reference/findings/download-a-finding-attachment /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/{findingId}/attachments/{attachmentId}/content Stream one attachment's bytes back through the authenticated route — attachments are served from a private bucket and never exposed as object URLs. Responses are forced to attachment disposition with `no-store` and `nosniff`. # Get a finding Source: https://docs.tolmo.com/api-reference/findings/get-a-finding /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/{findingId} Fetch a single finding by id. Internal triage columns are never serialized on this org-facing surface. Returns 404 rather than 403 for a finding in another organization, and for a draft the caller may not see. # List a finding's attachments Source: https://docs.tolmo.com/api-reference/findings/list-a-findings-attachments /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/{findingId}/attachments List the evidence files attached to a finding. Human tokens only; machine org tokens are rejected. # List a finding's sources Source: https://docs.tolmo.com/api-reference/findings/list-a-findings-sources /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/{findingId}/sources Return the evidence sources attached to a finding — the scans, resources, and detections that produced or corroborated it. # List a finding's status history Source: https://docs.tolmo.com/api-reference/findings/list-a-findings-status-history /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/{findingId}/status-history Return the ordered audit trail of status transitions for one finding, including who made each change and when. # List finding filter facets Source: https://docs.tolmo.com/api-reference/findings/list-finding-filter-facets /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/facets Return the available filter values (status, severity, and related dimensions) with their counts for the current query, for building filter UIs without a second full scan. Applies the same visibility rules as GET /findings/catalog. # List findings Source: https://docs.tolmo.com/api-reference/findings/list-findings /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings List every finding in the organization — Tolmo-authored and third-party scanner rows — from the unified findings read. Filter with origin=tolmo for Tolmo-authored rows only. The lean catalog (source/agent facets, idsOnly) lives at GET /findings/catalog. # List Tolmo-authored findings (catalog) Source: https://docs.tolmo.com/api-reference/findings/list-tolmo-authored-findings-catalog /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/catalog List the organization's Tolmo-authored findings, newest first, with the shared lean paginated contract. Regular callers see published findings only; effective super-admins may additionally read all drafts, and a scoped pentester may list drafts they authored. Scanner-origin rows are excluded. Prefer GET /findings for the unified org list. # List Tolmo catalog filter facets Source: https://docs.tolmo.com/api-reference/findings/list-tolmo-catalog-filter-facets /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/findings/catalog/facets Return the available filter values (status, severity, and related dimensions) with their counts for the current query, for building filter UIs without a second full scan. Applies the same visibility rules as GET /findings/catalog. # Update a finding's status Source: https://docs.tolmo.com/api-reference/findings/update-a-findings-status /api-reference/openapi.json patch /api/v1/orgs/{orgSlug}/findings/{findingId}/status Transition a finding between `open`, `in_review`, `acknowledged`, `closed`, `false_positive`, and `canceled`. The transition is recorded in the finding's status history with its actor, so the change is auditable. On a scanner row (GitHub, Wiz, and the rest) this writes `provider_status` and does not call the provider; `canceled` is refused. A later scan that still reports the alert overwrites that provider status. # Upload a finding attachment Source: https://docs.tolmo.com/api-reference/findings/upload-a-finding-attachment /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/findings/{findingId}/attachments Upload one evidence file for a finding as `application/octet-stream`, capped at 250 MiB. File name and content type travel in the `X-Attachment-File-Name` and `X-Attachment-Content-Type` headers, with an optional URI-encoded `X-Attachment-Title`. A `report_exhibit` video must send `X-Attachment-Exploit-Id`, the exploit it records. A film with no exploit is rejected. Human tokens only. # Connect an integration Source: https://docs.tolmo.com/api-reference/integrations/connect-an-integration /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/integrations/{provider} Create/update an integration # List integration providers Source: https://docs.tolmo.com/api-reference/integrations/list-integration-providers /api-reference/openapi.json get /api/v1/integration-providers List publicly available integration providers and their field specs. A client-supplied `orgId` is accepted for compatibility and ignored: org-restricted specs are never unlocked by a query parameter. # List integrations Source: https://docs.tolmo.com/api-reference/integrations/list-integrations /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/integrations List integrations # Tolmo REST API Reference for Security Automation Source: https://docs.tolmo.com/api-reference/introduction Call the Tolmo API directly over HTTPS to read findings, query your infrastructure graph, manage integrations, and drive security workflows from your own tooling. The Tolmo API is a REST API over HTTPS. Use the published endpoints to integrate Tolmo with your own tools. The [CLI](/) also provides local conveniences such as report parsing, artifact downloads, and installation. Use it when you want to pull findings into an internal dashboard, gate a deploy on your organization's security posture, sync the infrastructure graph into a warehouse, or drive Tolmo from a language the CLI doesn't cover. > [!TIP] > > If you just want results in a terminal or a pipeline, reach for the CLI first — it handles authentication, org context and command-specific pagination for you. Drop to the API when you are building a service. ## Base URL All requests go to: ```text theme={null} https://api.tolmo.com ``` Every endpoint lives under the `/api/v1` prefix. Requests must use HTTPS. ## Authentication Every endpoint requires a bearer token: ```bash theme={null} curl https://api.tolmo.com/api/v1/orgs/acme/findings \ -H "Authorization: Bearer $TOLMO_API_TOKEN" ``` See [Authentication](/api-reference/authentication) for how to get an [API key](https://app.tolmo.com/settings/api-keys). ## Organization scoping Most endpoints are scoped to a single organization, identified by its slug in the path: ```text theme={null} /api/v1/orgs/{orgSlug}/findings ``` Find your slug with `tolmo org list`, or read it from your organization settings in the Tolmo app. An API key is limited to its organization. A user token can access the organizations you belong to. Authorization also applies to SQL and Cypher queries. A resource ID outside your access returns `404`. ## Your first request List your organization's open critical findings — substitute your own slug for `acme`: ```bash theme={null} curl -G https://api.tolmo.com/api/v1/orgs/acme/findings \ -H "Authorization: Bearer $TOLMO_API_TOKEN" \ -d status=open \ -d severity=critical ``` ## What you can do > [card] Findings > > List, filter, create, and triage security findings, with their full status history and evidence attachments. > [card] Query your graph > > Run read-only SQL and openCypher against your organization's infrastructure graph. > [card] Inventory > > Read the canonical domain inventory, code repositories, scan runs, and the resource graph. > [card] Integrations > > Connect and inspect providers, and proxy read-only calls to them using Tolmo-held credentials. ## Pagination Pagination depends on the endpoint: | Endpoint | Parameters | Response | | - | - | - | | Unified findings | `limit`, `cursor` | `items` and `nextCursor` | | Domains and apex domains | `page`, `limit` | `items`, `total`, and `totalPages` | | Threat model versions | `limit`, `offset` | Array of version summaries | | Secret findings | `limit`, `offset` | Array of detections | For findings, pass `nextCursor` as the next request's `cursor` until it is null. Check each endpoint's schema for defaults and bounds. ## Content types Send `Content-Type: application/json` on requests with a body. Two endpoints deviate deliberately: finding attachment uploads take `application/octet-stream` with metadata in headers, and attachment and screenshot downloads return binary streams. ## Errors Most failures return a JSON body with `statusCode`, `error`, and `message`; some endpoints and provider proxies use different shapes. See [Errors](/api-reference/errors) for the full shape and the status codes each endpoint uses. ## Stability This reference is generated from the server's own route definitions, so it reflects exactly what the API accepts and returns. Use the documented `/api/v1` routes for integrations. Other route namespaces are not part of this public reference. # Get a resource subgraph Source: https://docs.tolmo.com/api-reference/resource-graph/get-a-resource-subgraph /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/resource-graph/subgraph Get a subgraph filtered by provider/service/resourceType # List scan runs Source: https://docs.tolmo.com/api-reference/scans/list-scan-runs /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/scans List scan runs for the org # Get a screenshot Source: https://docs.tolmo.com/api-reference/screenshots/get-a-screenshot /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/screenshots/{id} Stream a single screenshot PNG. Bucket is private; this endpoint proxies the GetObject through the backend so org isolation can be enforced. # List screenshots Source: https://docs.tolmo.com/api-reference/screenshots/list-screenshots /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/screenshots List URL screenshots captured for the org by the daily Cloudflare browser-rendering pipeline. # List secret findings Source: https://docs.tolmo.com/api-reference/secrets/list-secret-findings /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/secret-findings List leaked-credential findings detected across the organization's connected source repositories, with their current triage state. # Run a SQL query Source: https://docs.tolmo.com/api-reference/sql/run-a-sql-query /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/sql Execute a read-only SQL query with RLS org isolation # Get a threat model version Source: https://docs.tolmo.com/api-reference/threat-models/get-a-threat-model-version /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/threat-models/{version} Fetch one specific version of the organization's threat model, in full — the stable way to pin a report to a known revision. # Get the latest threat model Source: https://docs.tolmo.com/api-reference/threat-models/get-the-latest-threat-model /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/threat-models/latest Fetch the most recent threat model generated for the organization, in full. # List threat model versions Source: https://docs.tolmo.com/api-reference/threat-models/list-threat-model-versions /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/threat-models List the organization's generated threat models, newest first. Each entry is a summary; fetch a version to get the full document. # Changelog Source: https://docs.tolmo.com/changelog New features and improvements in Tolmo, newest first. **Week of September 28, 2026** Red Team Agent and Blue Agent are generally available * [Red Team Agent](/pentesting/red-team-agent) and Blue Agent are available to every organization. * The findings table shows an **Exploitability** column: **Validated exploit**, **Not validated**, or **Resolved**. * Mission Control lists new findings under a **New Finding** category. * HackerOne findings show the report's attachments inline. **Week of September 21, 2026** Agent triggers, severity edits, and timezones * A **Triggers** tab in **Agent Settings** lets you schedule, pause, and delete agent runs. * Change a published finding's severity from the dropdown next to its status. * Set your timezone under **Settings** → **Preferences**. Your daily digest arrives at 8:00 a.m. in that timezone. * Get a Slack message when an agent starts a live test. Turn on **When an agent starts** in **Agent Settings**. * GitLab's integration page lists your projects. # Authenticate the Tolmo CLI Source: https://docs.tolmo.com/cli/authentication Sign in with a browser for interactive use, or use an organization API key for automation. Use browser login for interactive work. For CI and services, create an API key under **Settings → API keys** and pass it through `TOLMO_API_TOKEN`. ## Sign in ```bash theme={null} tolmo auth login tolmo auth status ``` Login opens your browser and asks you to select an organization if you belong to more than one. It saves a user token (`usr_tok.*`) and the selected organization in the active profile. The default profile is `default`. To print the login URL without opening a browser: ```bash theme={null} tolmo auth login --no-browser ``` You still need to complete the browser flow. Use an API key for unattended jobs. `tolmo auth status` shows the effective profile, API URL, organization, and the source of each setting. It also shows the credential type and a shortened token prefix. ## Select an organization ```bash theme={null} tolmo org list tolmo org switch acme tolmo --org other-org findings list ``` `org switch` saves your choice in the active profile. `--org` applies to one invocation. A user token can access the organizations you belong to without a separate login for each one. ## Use a named profile ```bash theme={null} tolmo auth login --profile work --api-url https://api.tolmo.com tolmo --profile work findings list ``` Set `TOLMO_PROFILE=work` to select that profile for your shell. See [Profiles](/cli/profiles) for credential storage and logout behavior. ## Use an API key Create a key in [**Settings → API keys**](https://app.tolmo.com/settings/api-keys). Store it in your environment or CI secret store: ```bash theme={null} export TOLMO_API_TOKEN="your-api-key" export TOLMO_ORG_SLUG="acme" tolmo findings list --status open --json ``` When `TOLMO_API_TOKEN` is set, the CLI skips profile configuration and cached credentials. Set the organization with `TOLMO_ORG_SLUG` or `--org`. The API URL comes from `TOLMO_API_URL`, or defaults to `https://api.tolmo.com`. API keys are scoped to one organization. `--org` cannot expand a key's access. User-specific operations such as listing your memberships and managing evidence attachments require a user token. Unset `TOLMO_API_TOKEN` before running `tolmo auth login`. `tolmo org switch` is unavailable while this variable is set; change `TOLMO_ORG_SLUG` instead. ## Sign out ```bash theme={null} tolmo auth logout ``` Logout attempts to revoke the cached user token and clears the local credential even if server revocation fails. In that case, the CLI prints a warning. The profile's API URL and organization remain saved. Logout does not revoke an API key supplied through the environment. Revoke API keys in **Settings → API keys**. User tokens expire after seven days or three days of inactivity. Run `tolmo auth login` again when your session expires. See [API authentication](/api-reference/authentication) for credential permissions. # Use Tolmo in CI/CD Source: https://docs.tolmo.com/cli/ci-cd Install Tolmo, authenticate with an API key, start a pentest after each deploy, and gate pipelines on findings in GitHub Actions or GitLab CI. Use your pipeline to keep testing in step with production. Start a Red team agent run after a deploy, and fail a build when critical findings are open. Use an organization API key to run Tolmo without browser login. Create the key in **Settings → API keys**, then store it as `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: ```yaml .github/workflows/security.yml theme={null} name: Review security findings on: [push, workflow_dispatch] jobs: tolmo-check: runs-on: ubuntu-latest steps: - name: Install Tolmo run: | curl -fsSL https://tolmo.com/install.sh | TOLMO_INSTALL_DIR="$HOME/.local/bin" sh echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: List critical findings env: TOLMO_API_TOKEN: ${{ secrets.TOLMO_API_TOKEN }} TOLMO_ORG_SLUG: ${{ secrets.TOLMO_ORG_SLUG }} run: tolmo findings list --status open --severity critical --json ``` Listing findings exits successfully even when findings exist. To fail the job when the filtered list is non-empty, replace the last `run` value with: ```yaml theme={null} run: | tolmo findings list --status open --severity critical --json > findings.json jq -e 'length == 0' findings.json ``` The CLI collects all matching pages before returning the array. The gate requires `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: ```yaml .github/workflows/pentest-after-deploy.yml theme={null} name: Pentest after deploy on: workflow_run: workflows: [Deploy] types: [completed] jobs: red-agent-run: if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: - name: Install Tolmo run: | curl -fsSL https://tolmo.com/install.sh | TOLMO_INSTALL_DIR="$HOME/.local/bin" sh echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Start a Red team agent run env: TOLMO_API_TOKEN: ${{ secrets.TOLMO_API_TOKEN }} TOLMO_ORG_SLUG: ${{ secrets.TOLMO_ORG_SLUG }} run: tolmo red-agent run --json ``` The run tests every authorized domain and runs in addition to your schedule. Results arrive through your [notifications](/agents/notifications) like any other run. See [`tolmo red-agent`](/cli/commands/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. ```yaml .gitlab-ci.yml theme={null} security-check: image: ubuntu:24.04 before_script: - apt-get update && apt-get install -y ca-certificates curl tar - curl -fsSL https://tolmo.com/install.sh | TOLMO_INSTALL_DIR="$HOME/.local/bin" sh - export PATH="$HOME/.local/bin:$PATH" script: - tolmo findings list --status open --severity critical --json ``` ## 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](/cli/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. # tolmo findings Source: https://docs.tolmo.com/cli/commands/findings Filter Tolmo and third-party findings, import scanner reports, create drafts, and record status decisions with the Tolmo CLI. Use `tolmo findings` to review Tolmo-authored findings and findings from connected scanners in one list. All subcommands accept `--org` and `--profile`. Use `--json` for structured output. For what a finding contains and how its statuses work, see [Understand a finding](/pentesting/findings) and [Triage at scale](/pentesting/triage). ## List and filter findings ```bash theme={null} tolmo findings list tolmo findings list --status open --severity critical tolmo findings list --origin wiz --search payments --json tolmo findings list --include-info --json ``` The CLI follows the API's pagination and returns all matching findings. JSON output is an array. Ordinary callers see published Tolmo findings and ingested scanner findings. Informational findings and findings without a severity are excluded unless you pass `--include-info`. | Flag | Description | | - | - | | `--status` | Comma-separated statuses: `open`, `in_review`, `closed`, `acknowledged`, `false_positive` | | `--severity` | `critical`, `high`, `medium`, `low`, or `info` | | `--origin` | `tolmo` or a provider name, such as `wiz` | | `--search` | Search titles, external IDs, rules, and resource keys | | `--query` | A findings query expression | | `--state` | Comma-separated lifecycle states | | `--retest` | Comma-separated retest values | | `--rule` | Exact provider rule | | `--provider-status` | Comma-separated provider statuses | | `--verdict` | `tolmo` or `none` | | `--scope` | `all` (default) or `open` | | `--include-info` | Include informational findings and findings without a severity | Use the [filter facets endpoint](/api-reference/findings/list-finding-filter-facets) to discover filter values for your organization. ## View a finding ```bash theme={null} tolmo findings get tolmo findings get --json ``` The detail view works for Tolmo-authored and scanner findings. You can use a full UUID or a unique ID prefix from the list. Use a longer prefix if the CLI reports multiple matches. ## Create a draft API keys and ordinary user tokens can create draft findings. They cannot publish findings. ```bash theme={null} tolmo findings create --title "Overpermissive storage access" --severity high --resource-name customer-exports --description-file ./finding.md ``` `--title` and `--severity` are required. When you use a user token, also supply `--resource-name` to identify the affected resource. The default visibility is `draft`, and the default status is `open`. Use either `--description` for inline Markdown or `--description-file` for a file. Pass `--description-file -` to read stdin. Save the ID returned by creation. Drafts are not included in the ordinary customer findings list. ## Import a scanner report Use `upload` to import a Markdown security report as third-party findings: ```bash theme={null} tolmo findings upload ./security-report.md --provider code-security --source payments-review --json ``` The report must contain a `## Unified finding details` section and findings with `### USR-: ` headings: ```markdown security-report.md theme={null} # Security review ## Unified finding details ### USR-0001: Storage permissions need review - **Highest reported severity:** `HIGH` The storage policy grants broader access than this service requires. **Recommended remediation:** Restrict the policy to the required resources. ``` The CLI parses findings locally and uploads them in batches. | Flag | Description | | - | - | | `--provider` | Required producer name. Use lowercase letters, digits, `.`, `_`, or `-`; start with a letter or digit | | `--source` | Stable import source. Defaults to the report filename; required for stdin | | `--status` | Provider status assigned to imported findings; defaults to `open` | | `--kind` | Finding kind; defaults to `code_security` | Keep the provider, source, and finding identifiers stable when you import an updated report. Matching records are updated instead of duplicated. ## Change status ```bash theme={null} tolmo findings status <finding-id> in_review --justification "The fix is under review" --proof-url https://github.com/acme/payments/pull/42 tolmo findings status <finding-id> closed --justification-file ./resolution.md tolmo findings status <finding-id> false_positive --justification "The affected configuration is not used" ``` The supported statuses are `open`, `in_review`, `closed`, `acknowledged`, and `false_positive`. Use the underscore in `false_positive`. You can attach a justification to `in_review`, `closed`, or `false_positive`. Use either `--justification` or `--justification-file`; `-` reads stdin. `--proof-url` is available only for `in_review` and requires an HTTP or HTTPS URL. For scanner findings, status changes affect Tolmo's record. They do not update the source provider. A later scan can replace the local status. ## Review status history ```bash theme={null} tolmo findings history <finding-id> tolmo findings history <finding-id> --json ``` ## Manage evidence attachments Sign in with `tolmo auth login` to manage attachments. These operations require a user token; organization API keys are not accepted. ```bash theme={null} tolmo findings attachments list <finding-id> tolmo findings attachments upload <finding-id> ./evidence.pdf --title "Review evidence" tolmo findings attachments download <finding-id> <attachment-id> --output ./evidence.pdf tolmo findings attachments delete <finding-id> <attachment-id> --yes ``` Uploads support files up to 250 MiB. Downloads use the stored filename unless you pass `--output`. Pass `--force` to overwrite an existing local file. Attachment deletion is permanent and requires `--yes`. # tolmo red-agent Source: https://docs.tolmo.com/cli/commands/red-agent Check readiness, start runs, set the schedule, manage test accounts, and list run history for the Red team agent from the CLI. Use `tolmo red-agent` to operate the Red team agent from a terminal or a pipeline. It sends the same requests as the **Red team agent** page in the web app, so a change you make here shows up there. `tolmo red` is an alias. For what the agent does and how it tests, see [How the Red team agent tests](/pentesting/red-team-agent). Every subcommand accepts `--org`, `--profile`, and `--json`. > [!NOTE] > > Starting a run and changing the schedule require an organization admin or an organization API key. ## Check readiness ```bash theme={null} tolmo red-agent readiness tolmo red-agent readiness --json ``` Readiness reports whether the agent has what it needs to run: | Field | Meaning | | - | - | | `ready` | `true` when every required item is in place | | `provider` | A connected integration that can discover your attack surface | | `domain` | At least one discovered domain | | `slack` | Slack is connected for notifications | | `test-accounts` | Optional. At least one test account exists | | `instructions` | Optional. App-access instructions are set | A run also needs at least one domain with offensive testing enabled. To finish setup, see [Define scope: domains and test accounts](/pentesting/scope). ## Start a run now ```bash theme={null} tolmo red-agent run tolmo red-agent run --json ``` This starts the same whole-organization run as **Start run** in the web app. It tests every authorized domain. The output names the scan ID and the workflow ID of the new run. An on-demand run is in addition to the schedule. It does not replace or move the next scheduled run. ## Set the schedule The schedule keeps testing going as production changes. See [Keep up with production changes](/pentesting/production-changes) for how to choose a cadence. ```bash theme={null} tolmo red-agent schedule get tolmo red-agent schedule set --frequency day --time 06:00 --timezone Europe/Paris tolmo red-agent schedule set --frequency week --days mon,thu --time 14:00 --timezone America/New_York tolmo red-agent schedule pause tolmo red-agent schedule resume ``` `tolmo red-agent schedule` without a subcommand is the same as `schedule get`. `schedule set` creates or replaces the schedule with these flags: | Flag | Default | Behavior | | - | - | - | | `--frequency` | `week` | `day` or `week` | | `--interval` | `1` | Repeat every N days or weeks | | `--time` | `14:00` | Local start time as `HH:mm` | | `--timezone` | `UTC` | IANA timezone, such as `Europe/Paris` | | `--days` | `0` (Sunday) | Weekdays as `0`–`6` or `sun,mon,…`. Weekly schedules only; at least one day is required. | `pause` stops scheduled runs without deleting the schedule. `resume` turns it back on. If Tolmo manages a testing campaign for your organization, you can pause it but not delete it. ## Manage test accounts Test accounts let the agent sign in and test what a signed-in user can reach. `tolmo red-agent test-accounts` is an alias for `accounts`. ```bash theme={null} tolmo red-agent accounts list tolmo red-agent accounts get <id> tolmo red-agent accounts create --kind password --username qa@example.com \ --role admin --privileged --domain app.example.com --secret-file - <<<"$QA_PASSWORD" tolmo red-agent accounts update <id> --notes "Use the staging tenant" tolmo red-agent accounts delete <id> ``` Secrets never go on the command line. Pass them with `--secret-file` or `--totp-seed-file` (use `-` to read from stdin), or inside a `--file` JSON body. `list` and `get` never return a secret. ### Account flags `create` and `update` accept these flags. On `update`, a flag you do not pass leaves that field unchanged. | Flag | Behavior | | - | - | | `--kind` | Login method: `password`, `header`, or `bearer`. Cannot change after creation. | | `--username` | Sign-in identity, for `password` accounts | | `--login-url` | Where the account signs in. Optional hint. | | `--role` | Role in your app, such as `admin` or `member` | | `--privileged` | Mark the account as privileged | | `--group` | Group path segment, outermost first. Repeatable. | | `--capability` | `totp`, `email_otp`, or `sms_otp`. Repeatable. | | `--header-name` | Header name, for `header` and `bearer` accounts | | `--phone` | Phone number. Required with `sms_otp`. | | `--otp-email` | Inbox for one-time codes. Required with `email_otp`. | | `--notes` | Notes the agent reads | | `--notes-private` | Private notes, stored encrypted | | `--domain` | Hostname or domain ID this account is for. Repeatable. On `update`, replaces the linked domains. | | `--secret-file` | File that holds the password, header value, or token | | `--totp-seed-file` | File that holds the TOTP seed or `otpauth://` link | `create` also accepts `--file` (`-f`): a JSON body in the API's shape, or an array of bodies to create several accounts at once. `update` also accepts `--clear-notes-private` and `--clear-domains`. ## List runs ```bash theme={null} tolmo red-agent runs --days 7 --run-status completed --json ``` | Flag | Behavior | | - | - | | `--days` | Runs started in the last N days. `1` means the last 24 hours. | | `--severity` | Comma-separated severities: `critical`, `high`, `medium`, `low`, `info` | | `--run-status` | Comma-separated `running`, `completed`, or `failed` values | | `--limit` | Page size from `1` to `200`. Defaults to `100`. | | `--offset` | Number of matching runs to skip. Defaults to `0`. | Each JSON response contains `items` and `total`. Increase `--offset` to get the next pages. For the same history in the web app, see [Mission Control and agent runs](/agents/mission-control). ## Blue Agent runs The Blue team agent validates findings from your other security tools. List and inspect its runs with `tolmo blue-agent`: ```bash theme={null} tolmo blue-agent runs --days 7 --severity high,critical --json tolmo blue-agent runs show <run-id> tolmo blue-agent runs show <run-id> --json ``` `blue-agent runs` accepts the same filters as `red-agent runs`. It also accepts `--scope` for comma-separated target hostnames and `--search` for a run ID or workflow ID. The `show` identifier can be a scan ID, a `RUN-` prefix, or a workflow ID. The detail view shows the run's execution stages. A completed run does not by itself mean a finding was confirmed. Review the result and the linked finding with [`tolmo findings`](/cli/commands/findings). See [Validate the findings you already have](/pentesting/third-party-findings) for what the Blue team agent does. # tolmo threat-model Source: https://docs.tolmo.com/cli/commands/threat-model Retrieve threat model pipeline runs and artifacts using tolmo threat-model. Download the latest run or a specific step from a named pipeline scan. Tolmo's threat model commands let you download artifacts produced by the platform's threat model pipeline — including full run outputs and individual analysis steps. This is useful for reviewing findings offline or feeding them into other tools. ## List pipeline runs Use `tolmo threat-model list` to see all recorded pipeline runs for your organization. The output shows each scan's ID and its current status, giving you a quick overview of what has run and whether it completed successfully. ```bash theme={null} tolmo threat-model list ``` ## Download run artifacts Once you know which run you want to inspect, use `tolmo threat-model get` to fetch its artifacts. You can target the latest run, a specific run by ID, or a single analysis step within a run. **1. Download the latest run** Run the command without any flags to pull artifacts from the most recent pipeline execution: ```bash theme={null} tolmo threat-model get ``` **2. Download a specific run by ID** Pass the scan ID you retrieved from `threat-model list` to download a particular run's artifacts: ```bash theme={null} tolmo threat-model get --run <scanId> ``` **3. Download a single step** Use `--step` to narrow the download to one analysis step within the latest run. For example, to pull only the vulnerability qualification step: ```bash theme={null} tolmo threat-model get --step vuln-qualif ``` ## Output options ```bash theme={null} tolmo threat-model list --json tolmo threat-model get --out-dir ./review-artifacts tolmo threat-model get --run <scan-id-prefix> --json ``` The default directory is `./threat-model-<short-scan-id>`. The CLI writes each step into its own directory. `get --json` prints an array of step outputs instead of writing artifact files. Run lookup uses the latest 100 threat-model step summaries, so it may not include older runs. ## Versioned documents through the API The REST API also exposes generated threat model documents by version. These version numbers are separate from the pipeline scan IDs used by the CLI: * [List versions](/api-reference/threat-models/list-threat-model-versions), with `limit` and `offset`. * [Get the latest document](/api-reference/threat-models/get-the-latest-threat-model). * [Get a specific version](/api-reference/threat-models/get-a-threat-model-version). A document response includes `version`, `content`, and `createdAt`. Use its version number to pin an archived review to a revision. ## Working with artifacts After downloading, artifacts are available locally for inspection or further processing. > [!TIP] > > Add `--json` to get machine-readable output, then pipe it to `jq` to filter or extract specific fields. Artifacts are most meaningful when reviewed alongside the corresponding security findings in your Tolmo dashboard, since the platform links each artifact back to its source findings. ## Common use cases Threat model artifacts fit naturally into several workflows: * **Automated artifact archiving in CI** — schedule `tolmo threat-model get` in your pipeline to capture and store artifacts after each scan, building a historical record of your threat model evolution. * **Offline review** — download artifacts before a review session so that security and engineering teams can work through findings without needing live platform access. * **Importing into other security tools** — consume the JSON output in vulnerability management platforms, ticketing integrations, or custom dashboards that your team already uses. # Configure the CLI with environment variables Source: https://docs.tolmo.com/cli/environment-variables Set API credentials, organization context, profiles, and installer options for the Tolmo CLI. Use environment variables to configure Tolmo in your shell or CI environment. | Variable | Behavior | | - | - | | `TOLMO_API_TOKEN` | API key or user token. When set, bypasses profile configuration and cached credentials | | `TOLMO_ORG_SLUG` | Organization slug. Overrides the saved organization; required for organization commands with `TOLMO_API_TOKEN` unless you pass `--org` | | `TOLMO_API_URL` | API base URL. Overrides the profile URL; defaults to `https://api.tolmo.com` without a profile | | `TOLMO_PROFILE` | Profile name used when `--profile` is absent; defaults to `default` | | `TOLMO_APP_URL` | Base URL for links the CLI prints into the Tolmo app; otherwise inferred from the API URL | | `TOLMO_DISABLE_UPDATE_CHECK` | Any non-empty value disables update checks; checks are also skipped when `CI=true` | | `TOLMO_DISABLE_SKILL_PROMPT` | Any non-empty value suppresses the agent skill installation prompt | | `TOLMO_INSTALL_DIR` | Installer-only override for the directory containing the CLI binary | | `TOLMO_SYSTEM_BIN_DIR` | Installer-only override for the system fallback directory; defaults to `/usr/local/bin` | ## Configuration precedence | Setting | Resolution order, highest priority first | | - | - | | Profile | `--profile`, `TOLMO_PROFILE`, `default` | | Organization | `--org`, `TOLMO_ORG_SLUG`, profile organization | | API URL with a profile | `TOLMO_API_URL`, profile URL, production URL | | API URL with `TOLMO_API_TOKEN` | `TOLMO_API_URL`, production URL | `TOLMO_API_TOKEN` bypasses the entire profile. A profile's custom API URL and organization do not apply in this mode. At login, `--api-url` takes precedence over `TOLMO_API_URL` and an existing profile URL. It is a login option, not a global flag. Cached user credentials are bound to the API origin that issued them. Sign in to a separate profile when you change environments. Run `tolmo auth status` to see each effective value and its source. ## CI example Inject your API key from your CI provider's secret store: ```bash theme={null} export TOLMO_API_TOKEN="your-api-key" export TOLMO_ORG_SLUG="acme" tolmo findings list --status open --severity critical --json ``` See [CI/CD](/cli/ci-cd) for complete pipeline examples. ## Installer example Set the install directory on the shell that runs the installer: ```bash theme={null} curl -fsSL https://tolmo.com/install.sh | TOLMO_INSTALL_DIR="$HOME/.local/bin" sh export PATH="$HOME/.local/bin:$PATH" ``` # Global flags and JSON output Source: https://docs.tolmo.com/cli/global-flags Select an organization or profile for one invocation and understand command-specific JSON output. Tolmo exposes two persistent configuration flags: | Flag | Description | | - | - | | `--org <slug>` | Override the organization for one command | | `--profile <name>` | Select a named profile for one command | ```bash theme={null} tolmo --org acme findings list tolmo findings list --org acme tolmo --profile work sql "SELECT 1" ``` Flags override the corresponding environment variables and stored profile settings. They do not grant access to other organizations. ## JSON output `--json` belongs to individual commands or command groups. Put it after the command or group that declares it: ```bash theme={null} tolmo findings list --json tolmo sql --json "SELECT 1" ``` JSON shapes depend on the command: | Command | JSON shape | | - | - | | `findings list` | Array of all matching findings | | `sql`, `cypher` | Object with `rows`, `fields`, and `metadata` | | `domains list` | Page object with `items` and pagination fields | | `apps list`, `apps get` | Array of graph rows | ```bash theme={null} tolmo findings list --status open --json | jq '.[].title' tolmo sql --json "SELECT 1 AS value" | jq '.rows[]' ``` Use `tolmo <command> --help` to check the flags supported by your installed version. `--api-url` is an `auth login` option, not a global flag. # Install the Tolmo CLI Source: https://docs.tolmo.com/cli/installation Install the Tolmo CLI via Homebrew, the install script, or a Debian package. Supports macOS and Linux on amd64 and arm64 architectures. Tolmo runs on macOS and Linux and supports both amd64 and arm64 architectures. Choose the installation method that fits your workflow: Homebrew is the easiest option for interactive use, the install script works on any system without a package manager, and the Debian package integrates with `dpkg`-based systems. > [tab] Homebrew > > First, add the Tolmo tap to Homebrew, then install the CLI: > > ```bash theme={null} > brew tap tolmohq/tolmo https://github.com/tolmohq/tolmo > brew install tolmohq/tolmo/tolmo > ``` > > > [!NOTE] > > > > The Homebrew formula installs the Tolmo CLI binary only. It does **not** automatically modify Claude Code or other coding-agent directories. If you want to use Tolmo as an agent skill, run the following after installation: > > > > ```bash theme={null} > > tolmo skill install > > tolmo skill status > > ``` > [tab] Install Script > > Run the official install script with a single command: > > ```bash theme={null} > curl -fsSL https://tolmo.com/install.sh | sh > ``` > > The script automatically selects a writable install directory. When `/usr/local/bin` is not writable — the common case on macOS without admin rights — it falls back to a user-level directory, so you typically do not need `sudo`. > > To install to a custom directory, set the `TOLMO_INSTALL_DIR` environment variable before running the script: > > ```bash theme={null} > curl -fsSL https://tolmo.com/install.sh | TOLMO_INSTALL_DIR="$HOME/.local/bin" sh > ``` > > After installation, make sure the install directory is on your `PATH`. Add the following line to your shell profile (`~/.bashrc`, `~/.zshrc`, etc.) if it is not already present: > > ```bash theme={null} > export PATH="$HOME/.local/bin:$PATH" > ``` > [tab] Debian / Ubuntu > > Download the `.deb` package for your architecture from the [latest GitHub release](https://github.com/tolmohq/tolmo/releases/latest), then install it with `dpkg`: > > ```bash theme={null} > sudo dpkg -i tolmo_<version>_<arch>.deb > ``` > > Replace `<version>` with the release version number (for example, `0.9.1`) and `<arch>` with your architecture (`amd64` or `arm64`). ## Nightly builds Nightly builds track the latest development changes and are published automatically from the main branch. **Homebrew:** ```bash theme={null} brew install tolmohq/tolmo/tolmo-nightly ``` **Install script:** ```bash theme={null} curl -fsSL https://tolmo.com/install.sh | sh -s -- --nightly ``` > [!NOTE] > > Nightly builds may be unstable and are not recommended for production use. Use them to preview upcoming features or reproduce bugs against the latest code. ## Verify installation After installing, confirm the CLI is available and check the version: ```bash theme={null} tolmo --version ``` You should see the installed version number printed to stdout. If the command is not found, check that the install directory is on your `PATH`. ## Update Use the CLI's update command: ```bash theme={null} tolmo update ``` It preserves your release channel. Homebrew installations update through Homebrew. Direct installations download and verify the replacement binary. Debian installations print the package download and `dpkg` instructions. Development builds cannot self-update. After updating, run `tolmo --version`. If you use the [agent skill](/agents/coding-agents), run `tolmo skill install` to refresh it. # Manage named profiles Source: https://docs.tolmo.com/cli/profiles Store separate CLI sessions and API environments, select the active profile, and switch organization context. A profile stores an API URL and a default organization. Browser login caches a user token for that profile. One user token can access your memberships across organizations; you do not need a separate profile for every organization. ## Create a profile Provide an API URL when you create a non-default profile: ```bash theme={null} tolmo auth login --profile work --api-url https://api.tolmo.com ``` Existing profiles reuse their saved URL unless you override it. For a different Tolmo environment, sign in to a separate profile using that environment's API URL. Cached user tokens are bound to the issuing API origin. ## Select a profile ```bash theme={null} tolmo --profile work findings list export TOLMO_PROFILE=work tolmo auth status ``` The resolution order is `--profile`, then `TOLMO_PROFILE`, then `default`. `auth status` reports the effective values and their sources. ## Switch organizations ```bash theme={null} tolmo org list --profile work tolmo org switch acme --profile work tolmo --profile work --org other-org findings list ``` `org switch` saves the organization. `--org` overrides it for one command. `TOLMO_ORG_SLUG` also overrides the saved value. Your CLI session always runs in the context of one active organization. `tolmo org list` shows every organization your account can access. `tolmo org switch <slug>` sets the active organization for the current profile, or for the profile you pass with `--profile`. > [!TIP] > > Run `tolmo auth status` to confirm which organization and profile are active. This helps when you work across several profiles or organizations in the same terminal. `org list` requires a user token from browser login. With an API key in `TOLMO_API_TOKEN`, set `TOLMO_ORG_SLUG` instead of using `org switch`. ## Credential storage Profile settings live in `~/.tolmo/config`. Cached user tokens live under `~/.tolmo/cache/sso/`. Organization API keys are supplied through `TOLMO_API_TOKEN`, not stored in profiles. When that variable is set, the CLI bypasses profile settings and cached credentials. See [Environment variables](/cli/environment-variables). ## Sign out of a profile ```bash theme={null} tolmo auth logout --profile work ``` Logout attempts server-side revocation and clears the cached user credential. It retains the profile's API URL and organization. Without `--profile`, it uses `TOLMO_PROFILE` or `default`, just like other commands. # Use the terminal UI Source: https://docs.tolmo.com/cli/terminal-ui Browse Tolmo findings, repositories, and threat models with an interactive terminal interface. Run `tolmo tui` after [authenticating](/cli/authentication): ```bash theme={null} tolmo tui tolmo tui --profile work --org acme ``` The terminal UI is experimental and may change between releases. It lets you browse findings, repositories, and threat models, and run SQL or Cypher queries. | Key | Action | | - | - | | Arrow keys or `j` / `k` | Navigate lists and menus | | Enter or right arrow | Enter a section | | Escape or left arrow | Return to navigation | | Tab | Switch between query input and results | | `r` | Refresh the view | | Ctrl+R | Execute the SQL or Cypher query | | `q` or Ctrl+C | Quit | Use individual [CLI commands](/) with `--json` for scripts and pipelines. # How Tolmo works Source: https://docs.tolmo.com/how-it-works Tolmo watches production through your connected accounts, tests your authorized domains, proves which issues are exploitable, and retests your fixes. Tolmo operates one loop: watch, test, prove, fix, and retest. Each feature in these docs belongs to one step of this loop. **Mission Control** shows the full loop in one view. ![Platform diagram. The production knowledge graph is the data plane. Mission Control is the control plane and receives production events such as deployments and code changes. Mission Control sends work to a group of agents. The agents read the knowledge graph and produce findings and threats.](https://mintcdn.com/tolmo/7vlOnd-Q0dNpaHkM/images/platform/overview.png?fit=max\&auto=format\&n=7vlOnd-Q0dNpaHkM\&q=85\&s=8509f3f20c7d3945deecea243e580056) The Tolmo platform. Mission Control receives production events and sends work to the agents. The agents read the production knowledge graph and produce findings. ```mermaid theme={null} flowchart LR W[Watch<br/>knowledge graph] --> T[Test<br/>Red and Blue agents] T --> P[Prove<br/>live re-exploit] P --> F[Fix<br/>fix prompt, ticket, PR] F --> R[Retest<br/>Green agent, on demand] R --> W ``` ## Mission Control: the loop in one view Mission Control is the place where you monitor Tolmo. It shows three things: * **The changes in production.** Each new finding, security alert, code event, CI event, or cloud resource change appears as an event when it occurs. * **The agents that act on each change.** Each event shows the agents that examine it, and if they are done. * **The result of each run.** **Agent Runs** keeps the history of all Red, Blue, and Green runs, with the trigger, the status, and the result. ![The Mission Control activity feed. A stacked histogram shows events over three days. Below it, a filter panel lists event types such as alert, vulnerability, code change, CI, and resource. The table shows the time, event type, description, agents, and findings for each event.](https://mintcdn.com/tolmo/7vlOnd-Q0dNpaHkM/images/platform/mission-control.png?fit=max\&auto=format\&n=7vlOnd-Q0dNpaHkM\&q=85\&s=9d6158c36d4bb62e4d3613f45544868e) Mission Control. The histogram shows production events over time. Each row shows one event, the agents that work on it, and its findings. Use the findings list to decide what to fix. Use Mission Control to see what changed in production and what your agents did about it. > [card] [Mission Control and agent runs](/agents/mission-control) > > Filter the activity feed, examine a run, and read run history from the CLI. ## Watch You connect your cloud, code, observability, and security accounts. Tolmo crawls these accounts and builds the [production knowledge graph](/knowledge-graph/overview). The graph shows your assets and the connections between them. Your assets include: * Domains and hosts * Applications and HTTP endpoints * Datastores and cloud resources The graph records when Tolmo first saw each asset and when Tolmo last saw it. Tolmo uses these records to find new hosts, endpoints, and resources. Each change appears as an event in Mission Control. ## Test The **Red team agent** tests your authorized domains the way an outside attacker does. An authorized domain is a domain that has offensive testing enabled. Tolmo starts a Red run on your daily or weekly schedule. You can also start a run at any time. Each Red run reads the current graph. Thus, the next run tests all new hosts and endpoints under an authorized domain. The **Blue team agent** examines findings from your other security tools, for example Wiz or Snyk. When a finding arrives, Blue tries to exploit it. Blue examines only the findings that match your severity and origin rules. Each Red and Blue run appears in Mission Control while it runs, and stays in **Agent Runs** after it ends. [Keep up with production changes](/pentesting/production-changes) shows which agent reacts to each type of change, and how quickly. ## Prove A verifier exploits each issue again against the live target. The verifier keeps the request and the response that exploited the issue. Only then does Tolmo mark the finding as validated. Sometimes the agents cannot decide if an issue is real. In this case, Tolmo holds the issue as **Needs review**. A person on your team makes the decision. See [Understand a finding](/pentesting/findings). ## Fix Each finding includes these items: * What happened, and why it is important * The evidence * A recommended fix To fix the issue, give the fix prompt to Claude Code, Codex, Cursor, or another coding agent. You can also create a Linear or Fibery ticket. When a pull request is open, move the finding to **In review** and attach the PR URL. Tolmo does not modify your code. You decide what to ship. See [Fix a finding](/pentesting/fix). ## Retest After you ship the fix, retest the finding. Tolmo replays the stored attack against production. When the attack fails, Tolmo resolves the finding. The Green run that does the retest appears in Mission Control. See [Retest a fix](/pentesting/retest). ## Where you work with Tolmo | Surface | Use it to | | - | - | | **Web app** | Monitor changes and agent activity in [Mission Control](/agents/mission-control). Set up scope, review findings, and retest fixes. | | **Slack and email** | Receive new findings, a daily or weekly digest, and an alert when an agent starts a run. See [Notifications](/agents/notifications). | | **Your coding agent** | Paste fix prompts. You can also install the Tolmo skill, so that the agent can read findings. See [Use Tolmo from your coding agent](/agents/coding-agents). | | **CLI and API** | Automate runs, triage, and queries. See the [CLI](/cli/installation) and the [API reference](/api-reference/introduction). | # Continuous pentesting for production Source: https://docs.tolmo.com/index Tolmo's agents test production after each change, prove which vulnerabilities are exploitable, and retest your fixes. Your production gets new changes every day. You ship deploys, you add endpoints and domains, and your scanners raise new alerts. A yearly pentest only describes your system on the day of the test. Tolmo watches production through the accounts that you connect. Its agents test your production continuously. They test only the domains that you authorize. They report only the issues that they can exploit. Each finding includes a fix. After you ship the fix, the agents retest the finding. ```mermaid theme={null} flowchart LR A[Production changes] --> B[Tolmo notices] B --> C[Agents test] C --> D[Proven finding] D --> E[You fix] E --> F[Agents retest] F --> A ``` ## Why teams use Tolmo > [card] [Find exploitable vulnerabilities before attackers do](/pentesting/production-changes) > > The Red team agent tests on your schedule or on demand. The Blue team agent validates third-party findings when they arrive. You do not wait for the annual pentest. > [card] [Every finding comes with proof](/pentesting/findings) > > A validated finding includes the request that exploited the issue. The agent validates a finding only after it reproduces the issue. > [card] [Fixes are retested](/pentesting/retest) > > After you ship a fix, Tolmo replays the stored attack. When the attack fails, Tolmo resolves the finding. ## Get started > [card] [Request access](/request-access) > > Tolmo is invite-only. Join the waitlist and prepare for your first run. ## Learn how it works > [card] [How Tolmo works](/how-it-works) > > The loop that all of these docs follow: watch, test, prove, fix, and retest. > [card] [Safety and authorization](/safety) > > Which domains the agents can test, and which data they can modify. > [card] [Quickstart](/quickstart) > > Go from a new organization to your first validated finding. > [card] [Continuous pentesting](/pentesting/production-changes) > > The changes that Tolmo reacts to, and how quickly it tests them. ## Go deeper > [card] [Agentic platform](/agents/overview) > > The Red, Blue, and Green agents, and how you follow their work in Mission Control. > [card] [Production knowledge graph](/knowledge-graph/overview) > > The live model of your production. The agents read it at the start of each run. > [card] [Integrations](/integrations/catalog) > > The cloud, code, and security tools that Tolmo connects to. > [card] [CLI](/cli/installation) > > Triage findings and start runs from your terminal or CI pipeline. > [card] [API reference](/api-reference/introduction) > > Call the public REST API with an API key. > [card] [Changelog](/changelog) > > See the changes to Tolmo. # Integrations catalog Source: https://docs.tolmo.com/integrations/catalog Every integration you can connect to Tolmo, what Tolmo reads through it, and what it unlocks. Each integration sends data to the [production knowledge graph](/knowledge-graph/overview). Tolmo crawls your connected sources again to find changes. The agents read the graph at the start of each run. Each integration that you add gives the agents more surface to test and more context for their findings. The Red team agent needs at least one integration that discovers your attack surface. Start with a cloud provider. A cloud provider finds domains, hosts, and exposed services fastest. See [Connect an integration](/integrations/connect). ## Cloud providers Your cloud accounts are the main source of your attack surface: domains, hosts, load balancers, and exposed services. | Provider | What Tolmo reads | | - | - | | AWS | Your AWS infrastructure, for security risks and misconfigurations | | Google Cloud Platform (GCP) | Projects, folders, or a whole organization, through service account impersonation or a JSON key | | Microsoft Azure | Subscriptions or management groups, through an app registration | | Cloudflare | DNS records, zones, firewall rules, and security configuration | | DigitalOcean | Your DigitalOcean infrastructure | | OVHcloud | Public Cloud (including Kubernetes), dedicated servers, VPS, load balancers, IPs, and DNS | ## Source control Tolmo uses your code to map applications and HTTP endpoints. Tolmo also links each finding to the code that causes it. | Provider | What Tolmo reads | | - | - | | GitHub | Organizations, through a GitHub App installation, for repository analysis and code intelligence | | GitLab | Groups, projects, repositories, merge requests, and branches | ## Hosting and infrastructure | Provider | What Tolmo reads | | - | - | | Vercel | Projects, deployments, and security configuration | | Heroku | Apps and platform resources, with read-only OAuth access | | Fly.io | Organizations, apps, machines, networking, secrets, and identity | | Railway | Workspaces, projects, services, and network exposure | | Render | Deployed services, databases, and environment groups | | Neon | Organizations, projects, databases, endpoints, and network security configuration | | Supabase | Organizations, projects, auth configuration, and infrastructure posture | | MongoDB Atlas | Organizations, projects, clusters, database users, network access, and encryption | | Tailscale | Devices, users, ACL policy, DNS, and auth keys in a tailnet | | Blaxel | Workspaces, deployed agents, MCP servers, model gateways, sandboxes, and connections | | PyPI | Your packages and their new releases | ## Infrastructure as code | Provider | What Tolmo reads | | - | - | | HCP Terraform | Workspaces, variables, teams, and policies | | Pulumi Cloud | Organizations, stacks, and stack resources | ## Observability Observability data tells Tolmo which services are live and who owns them. | Provider | What Tolmo reads | | - | - | | Datadog | Monitors, hosts, users, and APM services. Also lets Tolmo [manage Datadog monitors](/integrations/datadog-monitors). | | Sentry | Projects and teams, linked to the repositories and services they monitor | | New Relic | Accounts, monitored entities, and alert configuration | | ClickHouse Cloud | Organizations, services, RBAC roles, and network security configuration | | Honeycomb | Access to your Honeycomb environments | | Anyshift | Lets Tolmo ask Annie, Anyshift's AI SRE, about your production | ## Security tools Connect the security tools you already use. Tolmo reads their findings. The [Blue team agent](/pentesting/third-party-findings) then proves or disproves each finding against your production. | Provider | What Tolmo reads | | - | - | | Wiz | Cloud security findings | | Snyk | Open-source, code, container, and IaC vulnerabilities | | Aikido | SAST, open-source, secrets, IaC, container, and cloud issues | | Socket | Supply-chain alerts: malware, typosquats, and risky dependencies | | Upwind | Runtime threats, vulnerabilities, and posture findings | | Corridor | Code-security findings, including pull-request findings | | HackerOne | Bug bounty reports | | Bugcrowd | Bug bounty submissions | | Claude Security | Verified code-vulnerability findings, pushed to Tolmo through a signed webhook | | Drata | Compliance posture: controls, monitoring tests, connections, personnel, and vendors | ## Ticketing | Provider | What it unlocks | | - | - | | Linear | Create Linear issues from findings and sync their state. Tolmo also reads issues, projects, and teams. | | Fibery | Create Fibery tickets from findings and sync their workflow state back to Tolmo | See [Fix a finding](/pentesting/fix). ## Messaging | Provider | What it unlocks | | - | - | | Slack | Run results, new findings, and digests in the channels you choose. Mention the Tolmo bot in a channel to ask questions. | See [Notifications](/agents/notifications). ## Identity | Provider | What Tolmo reads | | - | - | | Okta | Users, groups, app assignments, admin roles, and MFA posture. Connect-only for now: scanning is not available yet. | ## CI/CD | Provider | What Tolmo reads | | - | - | | CircleCI | CI/CD context for your security workflows | | Depot | Projects, builds, registries, caches, and usage | # Connect an integration Source: https://docs.tolmo.com/integrations/connect Connect your cloud, code, and security tools to Tolmo from the web app or the CLI, and inspect existing integrations. Each integration shows Tolmo a part of your production. Tolmo uses the integration to find changes in that part. You can connect integrations from the web app or from the CLI. The [integrations catalog](/integrations/catalog) lists what each provider unlocks. ## Connect from the web app **1. Pick a provider** Choose the provider. Follow the instructions for that provider. Each provider lists the fields and permissions that it needs. **2. Wait for the first scan** A cloud integration starts its first scan immediately. Results usually appear within the hour. ## Connect from the CLI Use `tolmo integration` to discover providers and to connect your organization's services. `tolmo integrations` is an alias. ## Discover provider requirements ```bash theme={null} tolmo integration providers tolmo integration providers --json tolmo integration list --json ``` The provider catalog lists configuration fields, secret fields, required values, and provider documentation links. The integration list shows integration IDs, aliases, and non-secret configuration. ## Connect an integration Use the fields from the provider catalog. For an AWS role integration: ```bash theme={null} tolmo integration connect aws --alias production --config roleArn=arn:aws:iam::123456789012:role/CloudScanner --config externalId=my-external-id ``` | Flag | Behavior | | - | - | | `--alias` | Required friendly name | | `--config key=value` | Configuration field; repeat for multiple values | | `--secret key=value` | Secret field; repeat for multiple values | | `--config-json` | Configuration object as a JSON string | | `--secrets-json` | Secret fields as a JSON string | | `--id` | Existing integration ID to update; omit to create | | `--json` | Return the result as JSON | A `--config` or `--secret` value overrides the matching field in its JSON object. Do not put literal credentials in your shell history. Most OAuth providers, including GitHub, connect through the web app. For these providers, the CLI prints the page to open. CircleCI also supports a browser flow from the CLI: ```bash theme={null} tolmo integration connect circleci --alias ci --oauth tolmo integration connect circleci --alias ci --oauth --no-browser ``` `--no-browser` prints the authorization URL. It requires `--oauth`. You cannot use config or secret fields with the CircleCI OAuth flow. ## Query a connected service After you connect a service, use [Query](/knowledge-graph/connected-services) to send supported requests to the provider: ```bash theme={null} tolmo query list tolmo query --integration <integration-id> github /repos/acme/payments/pulls ``` # Manage Datadog monitors Source: https://docs.tolmo.com/integrations/datadog-monitors Create, update, and delete the Datadog monitors Tolmo manages for your organization. Each monitor has the managed-by:tolmo tag. Tolmo keeps the Datadog credentials on the server. `tolmo monitor` manages the Datadog monitors that Tolmo owns for your organization. Tolmo resolves the Datadog credentials on the server, so the CLI never sees them. Tolmo adds the `managed-by:tolmo` tag to each monitor that it creates. This tag separates these monitors from the monitors that you manage outside Tolmo. ## List managed monitors `tolmo monitor list` lists the monitors that the selected integration can see. Use `--tag` to show only Tolmo's monitors. Add `--json` to get machine-readable output: ```bash theme={null} tolmo monitor list --tag managed-by:tolmo --json ``` To inspect one monitor by its Datadog ID, use `monitor get`: ```bash theme={null} tolmo monitor get 12345 --json ``` You can also filter by `--name`. To paginate, use `--page-size` (up to `1000`) and the zero-based `--page`: ```bash theme={null} tolmo monitor list --name production --page-size 100 --page 0 ``` ## Create a monitor Write a JSON spec in the [Datadog monitor API format](https://docs.datadoghq.com/api/latest/monitors/). You do not need to add the `managed-by:tolmo` tag. Tolmo adds it before it sends the request to Datadog. Pass the spec as a file path, or pipe it from stdin: ```bash theme={null} tolmo monitor create -f /tmp/cpu-spec.json cat spec.json | tolmo monitor create -f - ``` ## Update a monitor Pass the monitor's Datadog ID and a JSON patch file with the fields to change: ```bash theme={null} tolmo monitor update 12345 -f /tmp/patch.json ``` > [!WARNING] > > `tolmo monitor update` and `tolmo monitor delete` return HTTP 403 for any monitor without the `managed-by:tolmo` tag. This rule protects the monitors that you manage outside Tolmo from accidental changes. ## Delete a monitor Delete a Tolmo-managed monitor by its Datadog ID: ```bash theme={null} tolmo monitor delete 12345 ``` The command returns HTTP 403 for a monitor without the `managed-by:tolmo` tag. ## Multiple Datadog integrations If you connected more than one Datadog account, select one with `--integration <integration-id>`. `tolmo query list` shows the integration IDs. For example: ```bash theme={null} tolmo monitor list --integration <integration-id> ``` ## Example monitor spec This minimal spec creates a CPU alert. Change the `query`, `message`, and thresholds for your environment. Then pass the file to `tolmo monitor create`: ```json cpu-monitor.json theme={null} { "name": "High CPU on production hosts", "type": "metric alert", "query": "avg(last_5m):avg:system.cpu.user{env:prod} > 80", "message": "CPU is over 80% on {{host.name}}. @pagerduty", "tags": ["env:prod"], "options": { "thresholds": { "critical": 80, "warning": 70 } } } ``` # Query connected services Source: https://docs.tolmo.com/knowledge-graph/connected-services Send REST, GraphQL, and CLI requests to GitHub, AWS, Linear, Sentry, Datadog, and other connected services through Tolmo. Credentials stay on the server. The knowledge graph models your production. Sometimes you need the live state of a resource, such as a GitHub repository or an AWS resource. `tolmo query` sends the request directly to the connected service, through the integration that you already set up. Tolmo resolves the credentials on the server, so your machine never sees a token or secret key. `tolmo query list` shows which connected providers support proxy queries. Use the global `--org` flag with any subcommand to select an organization. ## Discover available services Run `tolmo query list` to see the providers that your organization connected. ```bash theme={null} # List connected services for the active org tolmo query list # List connected services for a specific org tolmo query list --org superset ``` Providers are discovered dynamically from the backend. New backend adapters become available without any CLI update on your end. ## GitHub (REST) Send REST requests directly to the GitHub API. Tolmo injects the org's GitHub App credentials on the backend. ```bash theme={null} # List pull requests for a repository tolmo query github '/repos/owner/repo/pulls?state=all' # Search issues and PRs across an org tolmo query github '/search/issues?q=type:pr+org:myorg' ``` ## GitHub CLI passthrough `tolmo query -- gh ...` runs your locally installed `gh` CLI with a short-lived token injected by the backend via a Unix socket proxy. Pagination, `--jq`, `--template`, and `gh api` work as usual, using the org's GitHub App credentials instead of your personal token. > [!WARNING] > > The `--` separator between `tolmo query` and `gh` is **mandatory**. Without it, the Cobra argument parser strips unknown flags (like `--repo`, `--limit`, or `--state`) before they ever reach `gh`, causing unexpected errors or silent failures. ```bash theme={null} # List repositories in an org tolmo query -- gh repo list myorg --limit 50 # Search PRs with a date range using full gh api syntax tolmo query -- gh api --method GET search/issues -f "q=type:pr org:myorg created:2026-01-01..2026-03-01" -f per_page=100 # List open issues with JSON output tolmo query -- gh issue list --repo myorg/myrepo --state open --json number,title # Use a different org's GitHub credentials tolmo query --org superset -- gh api '/repos/superset-sh/superset/pulls?state=all&per_page=5' ``` ## AWS CLI passthrough `tolmo query -- aws ...` sends AWS CLI arguments to the backend, which parses and executes the supported request with your integration credentials. You do not need a local AWS CLI installation. Provider permissions and proxy restrictions still apply. > [!WARNING] > > The `--` separator is **mandatory** here too. Without it, flags like `--region` and `--output` are stripped before reaching the AWS CLI. ```bash theme={null} # Describe EC2 instances tolmo query -- aws ec2 describe-instances # List S3 buckets tolmo query -- aws s3 ls # List IAM roles in a specific region tolmo query -- aws iam list-roles --region us-east-1 # Query a specific org's AWS environment tolmo query --org klarify -- aws ec2 describe-security-groups --region ca-central-1 ``` ## Linear (GraphQL) Send GraphQL queries to Linear. Pass the query inline as a string or load it from a file. ```bash theme={null} # Inline GraphQL query tolmo query linear '{ viewer { id name } }' # Load a query from a file tolmo query linear --file query.graphql ``` ## Sentry (REST) Send REST requests to the Sentry API. The path is appended to the Sentry base URL. ```bash theme={null} # List issues for an organization tolmo query sentry /api/0/organizations/acme/issues/ ``` ## Datadog (REST) Send REST requests to the Datadog API. The path is appended to the Datadog base URL. ```bash theme={null} # List all monitors tolmo query datadog /api/v1/monitor ``` ## Multiple integrations When your organization has more than one integration for the same provider (for example, two separate GitHub App installations), pass `--integration <id>` to tell Tolmo which credentials to use. Integration IDs are shown in the output of `tolmo query list`. ```bash theme={null} # Disambiguate when multiple GitHub integrations exist tolmo query --integration <id> -- gh repo list # Disambiguate a direct REST call tolmo query --integration <id> github /repos/owner/repo/pulls ``` ## Select an AWS account When multiple AWS integrations are connected, select one by integration ID or account ID: ```bash theme={null} tolmo query --account 123456789012 -- aws ec2 describe-instances --region us-east-1 ``` ## Fly.io CLI passthrough Use `fly` or `flyctl` after the required separator. The CLI runs locally and routes supported requests through Tolmo's proxy: ```bash theme={null} tolmo query -- fly apps list --json ``` ## GraphQL variables Pass repeatable `--var key=value` arguments with `--file`. Values are parsed as JSON when possible. Quote a JSON-looking value as a JSON string when you need to preserve it as text: ```bash theme={null} tolmo query linear --file query.graphql --var 'limit=10' --var 'label="123"' ``` # Explore your production in the app Source: https://docs.tolmo.com/knowledge-graph/explore Browse the applications, HTTP endpoints, datastores, and domains that Tolmo found, and explore the full knowledge graph in the Explorer. Use the **Production Knowledge** section of the web app to browse the [knowledge graph](/knowledge-graph/overview). Each page shows one type of asset. The **Explorer** shows how all assets connect. A page shows data after you connect its source. Before that, the page tells you which integration to connect. ## Apps **Apps** shows the applications that Tolmo found in your code repositories. Each app shows its endpoints and the hostnames that serve it. Tolmo marks an app as network-serving when its source declares an HTTP or API surface. This label does not prove that the app is reachable from the internet. Requires a connected code repository (GitHub or GitLab). ## HTTP endpoints **HTTP endpoints** shows all routes that your applications declare. You can search by path, domain, method, or repository. For each endpoint, this page shows the data from the agents: | Field | What it shows | | - | - | | **Exposure** | **Internet-exposed** means that an agent run got to the route from the outside. **Exposure unknown** means that no run tested the route. | | **Last tested** | The time of the last test on the route, and the number of runs that touched it. | | **Attack families tried** | The attacks against the route, and the test history of the route. | | **Open findings** | The open findings on the route. | Use this page to check testing coverage. The routes with the **Not tested yet** label show where the next runs can find new issues. Requires a connected code repository. ## Datastores **Datastores** shows the databases and object storage in your cloud accounts. Tolmo classifies each datastore by the type of data in it. Examples are credentials, financial data, health data, and identity references. Use this page to find where a breach can cause the most damage. Requires a connected cloud provider. ## Domains **Domains** is your domain inventory. It shows apex domains and their hosts. For each domain, it shows the DNS status, the web status, the first and last seen times, and the discovery source. You can export the inventory. Administrators also enable or disable **offensive testing** for each domain on this page. See [Define scope](/pentesting/scope). Requires a connected cloud or DNS provider. ## Explorer The **Explorer** shows the graph. You can show the resources of one integration, or a sample of all resources. To show only new or stale resources, filter by type, first seen, or last seen. From a resource, you can expand to its connections. The **time machine** shows the graph in a past time window. It shows the resources that Tolmo added and removed. See [Time machine](/knowledge-graph/time-machine). > [!TIP] > > Use the Explorer for open-ended browsing. For a question that you ask frequently, write a [Cypher query](/knowledge-graph/sql-cypher). An example question is "every public bucket a role with admin rights can read". # Inventory from the CLI Source: https://docs.tolmo.com/knowledge-graph/inventory List domains, applications, repositories, and website scans from the knowledge graph with the Tolmo CLI. The knowledge graph contains an inventory of what you run in production. The inventory includes your domains and hosts, the applications and repositories behind them, and the websites that Tolmo crawls. These commands read that inventory from your terminal. To browse it in the web app, see [Explore your production](/knowledge-graph/explore). All commands accept the global `--org` flag. All commands also accept `--json` for scripting. ## Domains `tolmo domains list` shows your organization's canonical domain inventory. By default it lists apex domains with host counts and probe summaries. ```bash theme={null} tolmo domains list tolmo domains list --q api --lifecycle current tolmo domains list --apex example.com --page 1 --limit 50 --json ``` Pass `--apex` to list individual hosts under one apex domain. JSON output includes `items`, `page`, `limit`, `total`, and `totalPages`. ### Filters and pagination | Flag | Values or behavior | | - | - | | `--q` | FQDN or apex substring | | `--apex` | List hosts under this apex instead of apex summaries | | `--lifecycle` | `current`, `stale`, or `historical` | | `--dns` | `resolved`, `unresolved`, `error`, or `not_checked` | | `--web` | `reachable`, `unreachable`, `blocked`, or `not_checked` | | `--source` | Discovery source, such as `cert_spotter` | | `--page` | One-based page number; defaults to `1` | | `--limit` | Page size from `1` to `100`; defaults to `50` | Each command returns one page. Increase `--page` to read more results. The [domain export endpoint](/api-reference/domains/export-the-domain-inventory) provides a CSV or JSON export through the REST API. To decide which of these domains the agents may test, see [Define scope](/pentesting/scope). ## Applications Use `tolmo apps` to inspect applications discovered in your organization's repositories. The commands read the infrastructure graph. ### List applications ```bash theme={null} tolmo apps list tolmo apps list --json ``` The table shows each application's name, type, system, endpoint count, and linked hostnames. Applications can appear before hostnames have been linked. ### Inspect one application Pass an exact application name or resource key: ```bash theme={null} tolmo apps get payments-api tolmo apps get payments-api --json ``` The detail view lists HTTP methods and paths, linked hostnames, and URLs assembled from those values. Use the resource key to distinguish applications with the same name. JSON output is an array of matching graph rows. Linked hostnames reflect the graph's recorded deployment relationships. A displayed URL does not confirm that an endpoint is currently reachable. ## Repositories The `tolmo code` command lets you browse and clone repositories connected to your organization. Tolmo resolves access credentials on the backend, so you can clone repositories from GitHub or GitLab without managing tokens locally. All subcommands accept the global `--org` flag to target a specific organization. ### List repositories Use `tolmo code list` to see every repository Tolmo knows about for your organization. ```bash theme={null} # Show all repositories in a table tolmo code list # Show only repositories available to clone tolmo code list --cloneable # Return results as JSON tolmo code list --json ``` The `--cloneable` flag filters to repositories that have storage artifacts ready for cloning. Use it before running a bulk clone to preview what will be fetched. ### Clone a repository Use `tolmo code clone` to clone a single repository. Tolmo accepts and normalizes the repository in any of these formats: ```bash theme={null} # Short org/repo notation tolmo code clone org/repo # With explicit host tolmo code clone github.com/org/repo # Full URL (Tolmo extracts the repo path from the URL) tolmo code clone https://github.com/superset-sh/superset/tree/main/apps/relay # Full URL with a custom local target directory tolmo code clone https://github.com/superset-sh/superset ./relay # GitLab with nested subgroups tolmo code clone https://gitlab.com/group/subgroup/repo # GitLab short notation with explicit provider flag tolmo code clone group/subgroup/repo --provider gitlab ``` Tolmo defaults to GitHub. Pass `--provider gitlab` when the short `group/repo` notation is ambiguous or when the host is not included in the URL. ### Select a ref and working tree A repository URL containing `/tree/<branch>/<directory>` identifies the repository only. Use `--ref` to select the branch, tag, or commit, and repeat `--sparse` to limit the checked-out files: ```bash theme={null} tolmo code clone acme/payments ./payments --ref main --sparse 'services/api/**' --sparse 'go.mod' ``` Sparse patterns use Git's non-cone, gitignore-style syntax. They restrict the working tree; the repository archive is still downloaded. You need `git` installed locally. ### Clone all repositories Use `tolmo code clone all` to clone every repository in your organization that is available for cloning. Tolmo prompts for confirmation before starting. ```bash theme={null} # Clone all cloneable repos (prompts for confirmation) tolmo code clone all # Skip the confirmation prompt tolmo code clone all ./repositories --yes ``` > [!WARNING] > > `tolmo code clone all` may clone a large number of repositories, some of which can be several gigabytes. Check `tolmo code list --cloneable` first to understand the scope, and make sure you have sufficient disk space before proceeding. ## Websites Use the `tolmo website` subcommands to review crawled domains and their scan history. Tolmo runs the crawls, and these commands show you the results. > [card] List crawled domains > > Display crawled website records from the graph: > > ```bash theme={null} > tolmo website list > ``` > [card] View scan history > > List scan history with timestamps to see when each domain was last scanned: > > ```bash theme={null} > tolmo website scans > ``` > [!NOTE] > > Tolmo schedules and configures the crawls, so you don't trigger scans from the CLI. Use `tolmo website list` and `tolmo website scans` to review the results. `website list` reads up to 200 graph nodes. `website scans` reads up to 50 scan records. Both support `--json`. For a paginated inventory with DNS, web, and lifecycle filters, use [Domains](#domains). ## Next steps * Query the same data directly with [SQL and Cypher](/knowledge-graph/sql-cypher). * See what changed recently with the [time machine](/knowledge-graph/time-machine). # What the knowledge graph is Source: https://docs.tolmo.com/knowledge-graph/overview The production knowledge graph is a live model of your production. Tolmo uses it to find changes, select test targets, and link findings to code and owners. The production knowledge graph is Tolmo's model of your production. Tolmo builds it from the accounts that you connect: cloud, code, DNS, observability, and security tools. Each resource is a node. Each relationship between two resources is an edge. Tolmo refreshes the graph continuously and records a timestamp for each observation. You do not add data to the graph manually. You connect an account, and Tolmo maps the resources in it. ![Graph path for api.example.com. Columns show hostname, AWS ingress, runtime, HTTP routes, endpoint, and data store. The PUT /integrations/:id endpoint writes secrets to a PostgreSQL table. Below, the Terraform and application source files that define each step are linked to it.](https://mintcdn.com/tolmo/7vlOnd-Q0dNpaHkM/images/platform/knowledge-graph-context.png?fit=max\&auto=format\&n=7vlOnd-Q0dNpaHkM\&q=85\&s=8ec00657f9cd185ec5f116a2a11c571e) One path through the graph. A hostname goes to a load balancer, a cluster, an HTTP route, an endpoint, and a database. The graph links each step to the source file that defines it. ## Contents of the graph | Kind | Examples | Source | | - | - | - | | **Domains and hosts** | Apex domains, subdomains, DNS resolution, web reachability | Cloud and DNS providers, and certificate transparency logs | | **Applications and HTTP endpoints** | Services in your repositories, the routes that they declare, the hostnames that serve them | Your code repositories | | **Cloud resources** | Compute, storage buckets, databases, IAM roles, network exposure | Cloud providers such as AWS, GCP, and Azure | | **Datastores** | Databases and object storage, classified by the type of data in them | Cloud providers | | **Relationships** | "This role can read this bucket", "this app is served at this host" | All of the sources above | Each integration that you connect adds data to the same graph. The [integrations catalog](/integrations/catalog) shows the sources of the graph. ## How Tolmo finds changes Each node and each edge has two timestamps: * `firstSeenAt`: the time when Tolmo first saw it. * `lastSeenAt`: the time when Tolmo last confirmed that it exists. Tolmo uses these timestamps to find new resources. For example, a host that Tolmo first saw yesterday appears as new in the graph. An endpoint from a new release also appears as new. To see these changes, use the [time machine](/knowledge-graph/time-machine). Tolmo also runs background assessments on the graph. For example, an assessment classifies the data in a datastore. Each assessment checks only the resources that changed after its last run. Thus, the graph stays current and Tolmo does not process all resources again. ## How the agents use the graph Each run of the [Red team agent](/pentesting/red-team-agent) starts from the current graph. The next run includes new hosts and endpoints under your authorized domains. Nobody must update a target list. Findings also use the graph. A finding links to the related application, endpoint, and code. Thus, you can see the affected resources and their owners. The HTTP endpoints view also uses the graph. It shows the routes that the agents tested and the routes that they did not test. The graph also limits testing. If a route is not in the graph, recon must find the route in the running application or in the source code. ## Use the graph > [card] [Explore in the app](/knowledge-graph/explore) > > Browse apps, endpoints, datastores, domains, and the full graph. > [card] [Time machine](/knowledge-graph/time-machine) > > See the resources that appeared or disappeared in a time window. > [card] [SQL and Cypher](/knowledge-graph/sql-cypher) > > Query the graph and your findings directly. > [card] [Connected services](/knowledge-graph/connected-services) > > Query GitHub, AWS, Datadog, and other sources through Tolmo. # Query the graph with SQL and Cypher Source: https://docs.tolmo.com/knowledge-graph/sql-cypher Run SQL against your organization's relational data and Cypher against the production knowledge graph. Both commands support --json for scripting. You can query two Tolmo data stores from the command line. `tolmo sql` reads your organization's relational data, such as findings. Row-level security limits each query to your organization. `tolmo cypher` traverses the [knowledge graph](/knowledge-graph/overview). The graph contains your production resources and the relationships between them. Use SQL for tabular questions and Cypher for "what connects to what". Both commands support `--json`. Use the global `--org` flag with either command to select an organization. ## SQL queries `tolmo sql` runs a query against your organization's relational database and prints a table by default. ```bash theme={null} # Return a scalar value to verify connectivity tolmo sql "SELECT 1" # Machine-readable output for scripting tolmo sql --json "SELECT 1" ``` Pass `--json` to get raw JSON, for example to pipe into `jq`. ### Query findings at a past time ```bash theme={null} tolmo sql --as-of 2026-09-01 "SELECT id, title, severity, status FROM findings LIMIT 20" ``` `--as-of` accepts a date or timestamp. Values without a timezone use UTC. It reconstructs findings at that instant; other tables remain current. See [Time machine](/knowledge-graph/time-machine). ## Cypher (graph) queries The `tolmo cypher` command executes a Cypher query against the infrastructure graph database. The graph represents your cloud environment as a network of nodes (resources) and edges (relationships between them), giving you a powerful way to understand how infrastructure components connect. ```bash theme={null} # Count nodes by label tolmo cypher "MATCH (n) RETURN labels(n), count(*)" # Return a sample of raw nodes as JSON tolmo cypher --json "MATCH (n) RETURN n LIMIT 5" ``` ### Record why you're running a query Pass `--intent` with one sentence stating the goal the query serves. Tolmo attaches it to the request trace in APM and to the security audit log of rejected queries, so a burst of automated queries has an attributable purpose. It never changes the query or its results. ```bash theme={null} tolmo cypher --intent "triaging exposed EC2 with IAM roles" "MATCH (i:Exposed {resourceType: 'EC2Instance'})-[h:GRAPH_EDGE {type:'HAS_ROLE'}]->(r:GraphNode) RETURN i.resourceKey, r.resourceKey" ``` > [!NOTE] > > Agents and scripts must set `--intent` on every query. Skip it only for a one-off query you type yourself. When you call the [Cypher endpoint](/api-reference/cypher/run-a-cypher-query) directly, send the same text in the `intent` field of the request body. ## Graph data model Every resource in the infrastructure graph is stored as a **`GraphNode`**, and every relationship between resources is stored as a **`GRAPH_EDGE`**. | Element | Key properties | Description | | - | - | - | | `GraphNode` | `resourceType`, `resourceKey` | Represents a single infrastructure resource (e.g. an S3 bucket, an IAM role, a GitHub repository). | | `GRAPH_EDGE` | `type` | A directed relationship between two nodes (e.g. `HAS_ROLE`, `OWNS`, `CONNECTS_TO`). | Both nodes and edges carry **temporal tracking fields**: | Field | Type | Description | | - | - | - | | `firstSeenAt` | epoch milliseconds | When the crawler first discovered this resource or relationship. | | `lastSeenAt` | epoch milliseconds | The most recent time the crawler confirmed it still exists. | You can use these fields to write time-aware queries: ```bash theme={null} # Resources added in the last 7 days tolmo cypher "MATCH (n:GraphNode) WHERE n.firstSeenAt >= (timestamp() - 7*24*60*60*1000) RETURN n.resourceType, n.resourceKey ORDER BY n.firstSeenAt DESC" # Stale resources not seen in the last 48 hours tolmo cypher "MATCH (n:GraphNode) WHERE n.lastSeenAt < (timestamp() - 48*60*60*1000) RETURN n.resourceType, n.resourceKey LIMIT 50" # New relationships discovered in the last 24 hours tolmo cypher "MATCH ()-[r:GRAPH_EDGE]->() WHERE r.firstSeenAt >= (timestamp() - 24*60*60*1000) RETURN r.type, count(r) AS cnt ORDER BY cnt DESC" ``` ## Recipes Start from these queries and adapt them. Each one is read-only. ### Assets that appeared this week New resources are where new risk usually comes from. List everything the crawlers first observed in the last seven days, grouped by type: ```bash theme={null} tolmo cypher --intent "review assets first seen this week" \ "MATCH (n:GraphNode) WHERE n.firstSeenAt >= (timestamp() - 7*24*60*60*1000) RETURN n.resourceType, count(*) AS added ORDER BY added DESC" ``` ### Relationships that changed today ```bash theme={null} tolmo cypher --intent "review relationships first seen today" \ "MATCH (a:GraphNode)-[r:GRAPH_EDGE]->(b:GraphNode) WHERE r.firstSeenAt >= (timestamp() - 24*60*60*1000) RETURN a.resourceKey, r.type, b.resourceKey LIMIT 100" ``` ### Open high-severity findings ```bash theme={null} tolmo sql "SELECT id, title, severity, status FROM findings WHERE severity IN ('critical', 'high') AND status = 'open' LIMIT 50" ``` ### Findings at the start of the month ```bash theme={null} tolmo sql --as-of 2026-11-01 "SELECT severity, count(*) FROM findings GROUP BY severity" ``` See [Time machine](/knowledge-graph/time-machine) for how historical queries behave. ## Output formats Both `sql` and `cypher` support two output modes: | Mode | Flag | Description | | - | - | - | | Table | *(default)* | Human-readable, column-aligned output. Best for interactive use. | | JSON | `--json` | JSON object containing `rows`, `fields`, and `metadata`. Best for scripting and automation. | > [!TIP] > > Always pass `--json` when parsing output programmatically. Table formatting can vary across CLI versions, and JSON gives you structured fields to process with tools like `jq`: `tolmo sql --json "SELECT 1" | jq '.rows[]'`. # Time machine: see what changed Source: https://docs.tolmo.com/knowledge-graph/time-machine See your production graph and your findings at a past point in time, and find the resources that appeared or disappeared after that time. Production changes between pentest runs. The time machine shows these changes. For example, use it to see the new attack surface from a release. You can also use it to see the open findings at the start of an audit. You can see past data in two places: * **The graph.** Each resource and each relationship has observation timestamps. You can use these timestamps in the Explorer or with Cypher. * **Findings.** SQL queries can read the findings table at a past time. ## Use the time machine in the Explorer Turn on the time machine in the Explorer. Then select a window between two scans. The graph shows the resources that existed during that window. It also shows the number of resources that Tolmo **added**, **removed**, or kept **stable**. You can highlight the added or removed resources. If no resources existed in the window, the graph tells you. Make the window wider, or go back to the current view. > [!TIP] > > To filter without the slider, use **First seen** or **Last seen** in the Explorer filters. Each filter has **Last 24 hours**, **Last 7 days**, and **Last 30 days**. **Last seen** also has **Not seen in 30+ days**. ## Graph observation timestamps Graph nodes and edges have these timestamps in epoch milliseconds: | Property | Meaning | | - | - | | `firstSeenAt` | The time when the crawler first saw the resource or relationship | | `lastSeenAt` | The time when the crawler last saw it | To find the resources that the crawler first saw in the last seven days, use this query: ```bash theme={null} tolmo cypher "MATCH (n:GraphNode) WHERE n.firstSeenAt >= (timestamp() - 7*24*60*60*1000) RETURN n.resourceType, n.resourceKey ORDER BY n.firstSeenAt DESC" ``` To find the resources that the crawler did not see in the last 48 hours, use this query: ```bash theme={null} tolmo cypher "MATCH (n:GraphNode) WHERE n.lastSeenAt < (timestamp() - 48*60*60*1000) RETURN n.resourceType, n.resourceKey LIMIT 50" ``` These timestamps record observations only. They do not show when a resource was created or deleted. They also do not show past property values. An old `lastSeenAt` value can also mean that a crawl did not run. It can also mean that the crawl did not get to the resource. For scripted graph queries, use `--intent` to record the purpose of the request. See [SQL and Cypher](/knowledge-graph/sql-cypher). ## Historical findings To query findings at a past time, use the `--as-of` option of `tolmo sql`: ```bash theme={null} tolmo sql --as-of 2026-09-01 "SELECT id, title, severity, status FROM findings WHERE severity = 'high' LIMIT 20" tolmo sql --as-of 2026-09-01T14:30:00Z --json "SELECT status, count(*) FROM findings GROUP BY status" ``` Dates and timestamps without a timezone use UTC. The `findings` table shows its state at the requested time. Other tables show their current state. Thus, a join with another table mixes past findings with current data. For direct API calls, put the timestamp in the `asOf` field of the SQL request body. The JSON output of the CLI puts the result array in `rows`: ```bash theme={null} tolmo sql --as-of 2026-09-01 --json "SELECT id, title FROM findings LIMIT 20" | jq '.rows[]' ``` ## Compare before and after a release To review a release, use the two views together: 1. In the Explorer, set the time machine to the window of the release. Highlight the added resources. 2. Run the "first seen" Cypher query above for the same window. This gives you the list as text. 3. Compare the open findings before and after the release: ```bash theme={null} tolmo sql --as-of 2026-10-01 "SELECT severity, count(*) FROM findings WHERE status = 'open' GROUP BY severity" tolmo sql "SELECT severity, count(*) FROM findings WHERE status = 'open' GROUP BY severity" ``` The next run of the Red team agent tests the new attack surface. See [Keep up with production changes](/pentesting/production-changes). # Understand a finding Source: https://docs.tolmo.com/pentesting/findings Read a Tolmo finding: what happened, why it is important, the evidence, and the fix. Learn what severity, triage status, and exploitability mean. A Tolmo finding is a vulnerability with its proof. The first part of a finding gives you the information to decide and act. The full technical record is below it, for the engineer who reproduces the issue. ## The first part of a finding A finding starts with four sections, in this order: | Section | What it tells you | | - | - | | **What happened** | What the agent did, and the result that it got. | | **Why it matters** | Who can do this, and what they can get. | | **Evidence** | The request and the response that prove the issue. | | **Fix** | The change that closes the issue. | ![An opened finding: severity and title, the stage and affected endpoint, a Copy fix prompt button, then what happened, why it matters, key evidence as a request and response, and a recommended fix.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/finding-detail.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=553a69da57e5492512d926f8adf0a922) An open critical finding: the status and the target, then what happened, why it matters, the evidence, and the fix. The affected target is below the title. The target is a full URL, or a method and a path such as `POST /api/auth/reset-password`. ## The full technical record The other sections are for the engineer who reproduces the issue or reviews the fix. | Section | What it contains | | - | - | | **Proof of concept** | The steps that exploit the issue. It often contains a script that you can run. | | **Reproduction script** | A script that reproduces the issue from a new session. | | **Request and response** | The full request and response, with headers, as the agent sent and received them. | | **Root cause** | Numbered steps from the entry point to the flaw. Each step points to the code. | | **Impact** | The effect outside the endpoint, with regulatory effects if they apply. | | **Fix** | The full change, with a test that prevents a regression. | ![The expanded technical detail of a finding: reproduction steps, the full request and response, technical context, impact, remediation detail, and the run that found it.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/finding-see-more.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=b976cb1fbcfd6fabb08ca147410633f9) The technical record: reproduction, the full request and response, technical context, impact, and remediation. A section appears only when it has content. For example, if an app has no connected repository, its findings have no root cause in code. ### Chained findings Some low-severity issues share an asset. Together, these issues can make one attack with a higher severity. For example, an anonymous upload can lead to cache poisoning. Tolmo reports the chain as a separate finding. The chained finding links to each finding that it contains. ### Sources and duplicates Sometimes the Red team agent and a scanner report the same issue. Tolmo then keeps one finding and shows the two sources. Sometimes two findings still show the same issue. Tolmo then marks one finding as **Duplicate**, and that finding links to the other finding. ## Severity Each finding has one of these severities: **Critical**, **High**, **Medium**, **Low**, or **Info**. Lists of findings sort by severity. Findings from the Red team agent also have a CVSS v4.0 score. The agent calculates the score from the evidence that it recorded. ## Two statuses: triage and exploitability Each finding has two statuses, and each status changes independently. The triage status shows what your team decided. The exploitability shows what Tolmo proved. ### Triage status | Status | Meaning | | - | - | | **Open** | The finding needs a decision or a fix. | | **In review** | A fix is in progress. You can link the pull request. | | **Acknowledged** | Your team knows about the finding and decided not to act now. | | **Closed** | The issue is fixed, or the work is complete. | | **False positive** | The issue is not real. Add a reason, so the next person does not do the same work again. | If you connect Linear and someone cancels a ticket in Linear, Tolmo shows the finding as **Canceled**. To change the triage status, see [Fix a finding](/pentesting/fix). ### Exploitability | Exploitability | Meaning | | - | - | | **Validated exploit** | An agent exploited the issue on your live authorized target. The agent kept the proof. | | **Not exploitable** | An agent tested the issue. The issue is not exploitable as reported. | | **Not validated** | No agent proved or disproved the issue yet. | | **Resolved** | The issue was exploitable. Then a retest showed that the exploit does not work now. | The exploitability changes only when an agent tests the finding. Sometimes the test does not get a clear result. Then the finding shows one of these states: | State | Meaning | | - | - | | **No permitted domain** | The target is outside your [authorized domains](/pentesting/scope). | | **Defence in depth** | The issue is real, but the internet cannot reach it. Fix it too. | | **Could not produce an exploit** | The agent tried, but the exploit did not work. | ## Next steps > [card] [Fix a finding](/pentesting/fix) > > Copy the fix prompt, link the pull request, or create a ticket. > [card] [Retest a fix](/pentesting/retest) > > Prove that the exploit does not work now. # Fix a finding Source: https://docs.tolmo.com/pentesting/fix Give a finding to your coding agent with the fix prompt, track the fix with a pull request link, create tickets in Linear or Fibery, and export a PDF report. Tolmo proves the vulnerability and gives you the information to fix it. Tolmo does not change your code. You make the change, and you decide what to ship. ## Copy the fix prompt into your coding agent Each finding has a fix prompt. When you copy the fix prompt, Tolmo puts the full finding on your clipboard as one instruction for a coding agent. ![The action row of an opened finding, with Copy fix prompt as the primary button next to Open in Findings.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/copy-fix-prompt.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=d78920c50be1ed714442ba9df0ebb44b) Copy the fix prompt from a finding. Paste the prompt into Claude Code, Codex, Cursor, or a different coding agent. Use the agent in the repository that serves the affected endpoint. The prompt tells the agent to do these steps: 1. Find the code or infrastructure-as-code that causes the finding. 2. Make the smallest safe fix. Do not change the live infrastructure. 3. Add or update focused tests, and run the related checks. 4. Work on a new branch, and open a pull request if possible. The prompt contains the summary, the evidence, the root cause, and the proposed fixes. Markers surround the text of the finding. The markers tell the agent to use the text as untrusted data. This protects you if an attacker wrote some of the text in a report. The prompt contains all the information that the agent needs. Thus, the person who receives the prompt does not need access to Tolmo. If the `tolmo` CLI is installed and signed in, the agent can also run `tolmo findings get <finding-id>`. This command gets the latest information about the finding. > [!TIP] > > Install the Tolmo skill. With the skill, your coding agent knows how to use the CLI. See [Use Tolmo from your coding agent](/agents/coding-agents). ## Track the fix When you start the fix, move the finding to **In review**. You can add the pull request URL and a note for your team. After you ship the fix, [retest the finding](/pentesting/retest). The retest proves that the exploit does not work now. To close a finding or mark it as a false positive, you must give a justification. The justification stays on the finding for the next person who reads it. To move a finding to **In review** from the CLI, use this command: ```bash theme={null} tolmo findings status <finding-id> in_review --justification "Fix under review" --proof-url https://github.com/acme/api/pull/1234 ``` See the [findings command reference](/cli/commands/findings). ## Create tickets If you connected Linear or Fibery, you can create tickets for one or more findings at the same time. Each ticket links to the finding, its evidence, and its fix prompt. The finding shows the link to its ticket. Tolmo does not create a ticket for a finding that already has a ticket. ## Export a pentest report You can export findings as a PDF report for auditors or customers. Select the findings and a date range. To keep that exact PDF for your organization, save the report. ## Next steps > [card] [Retest a fix](/pentesting/retest) > > Prove that the exploit does not work now. > [card] [Use Tolmo from your coding agent](/agents/coding-agents) > > Install the Tolmo skill for Claude Code, Codex, and other agents. # Private Kubernetes clusters Source: https://docs.tolmo.com/pentesting/private-kubernetes-services Let Tolmo test internal services that have no public address. Install Tolmo Satellite in your cluster with Helm. It is one static binary that relays network connections to the targets that you allow. All testing runs at Tolmo, not in your cluster. > [!NOTE] > > This feature is in early access. Tolmo enables it for each organization on request. See [Availability](#availability). ## Prerequisites * A Kubernetes cluster where you can run `helm install`. * Helm 3.8 or later. * A Tolmo API key. Create one in [**Settings → API keys**](https://app.tolmo.com/settings/api-keys). * Outbound TCP 443 from the cluster to `api.tolmo.com` and `relay.tolmo.com`. See [Network requirements](#reference). ## Setup **1. Store your API key in a Kubernetes Secret** ```bash theme={null} kubectl create namespace tolmo-satellite kubectl create secret generic tolmo-satellite-api-key \ --namespace tolmo-satellite \ --from-literal api-key="<YOUR_API_KEY>" ``` **2. Create values.yaml** ```yaml values.yaml theme={null} satellite: name: <CLUSTER_NAME> apiKey: existingSecret: tolmo-satellite-api-key allowedRange: namespaces: ["payments", "billing"] ports: ["80", "443"] ``` * Replace `<CLUSTER_NAME>` with a name for this cluster, such as `prod-eu`. Use lowercase letters, digits, and hyphens. Use one name and one API key for each cluster. * Set `allowedRange` to the namespaces and ports that Tolmo can test. Tolmo cannot reach a target outside this range. **3. Install the chart** ```bash theme={null} helm install tolmo-satellite oci://public.ecr.aws/tolmo/charts/tolmo-satellite \ --version 0.5.0 \ --namespace tolmo-satellite \ -f values.yaml ``` **4. Validate the installation** Check that the satellite is running: ```bash theme={null} kubectl get pods -n tolmo-satellite ``` The pod shows `READY 1/1` when the satellite is connected to Tolmo. If the pod does not become ready, read the logs of the satellite: ```bash theme={null} kubectl logs -n tolmo-satellite -l app.kubernetes.io/name=tolmo-satellite ``` The satellite is now connected. No target is reachable until it is enabled for testing. See [Availability](#availability). ## You control what Tolmo can test The satellite opens a connection only when both conditions are true: 1. The target is inside the **allowed range** in your values file. 2. The target is **enabled for testing** in Tolmo, on an enabled port. Nothing is enabled by default. When a target is enabled or disabled, the satellite applies the change in less than one minute. The satellite always refuses the Kubernetes API, cloud metadata endpoints, loopback addresses, and its own addresses. ## Reference > [accordion] Network requirements > > The satellite needs two outbound destinations, both on TCP 443: > > | Destination | Address | > | - | - | > | Tolmo relay, `relay.tolmo.com` | Two fixed IP addresses: `44.235.57.47` and `52.24.236.100`. Allow both. | > | Tolmo API, `api.tolmo.com` | No fixed IP address. Use a rule by domain name, or an egress proxy. | > > The satellite also needs DNS, and a route from its pod to the targets in the allowed range. > > If a target namespace accepts only its own traffic, add a NetworkPolicy to that namespace that admits the satellite pods: > > ```yaml theme={null} > apiVersion: networking.k8s.io/v1 > kind: NetworkPolicy > metadata: { name: allow-tolmo-satellite, namespace: payments } > spec: > podSelector: {} > policyTypes: [Ingress] > ingress: > - from: > - namespaceSelector: { matchLabels: { kubernetes.io/metadata.name: tolmo-satellite } } > podSelector: { matchLabels: { app.kubernetes.io/name: tolmo-satellite } } > ``` > [accordion] Egress proxy > > If your cluster can leave only through a forward proxy, add the proxy to the values file. The standard `HTTPS_PROXY` and `NO_PROXY` variables work. > > ```yaml theme={null} > extraEnv: > - name: HTTPS_PROXY > value: http://proxy.corp.internal:3128 > > networkPolicy: > tolmoCIDRs: [] > extraEgress: > - to: > - ipBlock: { cidr: 10.20.0.15/32 } # the proxy > ports: > - { protocol: TCP, port: 3128 } > ``` > > The proxy must allow `CONNECT` to `api.tolmo.com` and `relay.tolmo.com` on port 443. It must not intercept the TLS of these connections. > [accordion] Permissions and RBAC > > To let you select targets from a list, the satellite reads resources from the Kubernetes API and sends what it finds to Tolmo: names, namespaces, and TCP ports. It also sends its version and the allowed range. > > The satellite has read-only access (`get`, `list`, `watch`). It does not read Secrets, ConfigMaps, Pods, or workloads. > > The chart creates a ClusterRole for these kinds. Each kind has a switch in the values, on by default: > > | Value | Kinds | > | - | - | > | `discovery.services` | Services | > | `discovery.namespaces` | Namespaces | > | `discovery.ingresses` | Ingresses, IngressClasses | > | `discovery.gateways` | Gateways, HTTPRoutes, GRPCRoutes | > | `discovery.nodes` | Nodes | > | `discovery.serviceCIDRs` | ServiceCIDRs | > > Set a switch to `false` to remove that right. > > When all switches are `false`, the chart creates no ClusterRole and the pod gets no service-account token. Tolmo then sees no new target, so no more targets can be enabled. > [accordion] Custom configuration (values.yaml) > > Common values: > > | Value | Default | Description | > | - | - | - | > | `satellite.name` | (required) | The name of this cluster in your organization. | > | `apiKey.existingSecret` | `""` | The Secret that holds the API key. | > | `allowedRange.namespaces` | `[]` | Namespaces that Tolmo can reach. | > | `allowedRange.ports` | `["80", "443"]` | Ports that Tolmo can reach. Ranges such as `8000-8100` work. | > | `replicaCount` | `1` | Number of pods. `0` stops all access. | > | `image.repository` | `public.ecr.aws/tolmo/tolmo-satellite` | Change it if you pull images only from your own registry. | > | `discovery.*` | `true` | What the satellite can read from the Kubernetes API. | > | `networkPolicy.enabled` | `true` | The chart installs a NetworkPolicy that limits the traffic of the satellite. | > > The chart package includes a README with all values, and a changelog: > > ```bash theme={null} > helm pull oci://public.ecr.aws/tolmo/charts/tolmo-satellite --version 0.5.0 --untar > ``` > [accordion] Upgrade > > ```bash theme={null} > helm upgrade tolmo-satellite oci://public.ecr.aws/tolmo/charts/tolmo-satellite \ > --version <NEW_VERSION> \ > --namespace tolmo-satellite \ > -f values.yaml > ``` > > An upgrade that keeps the same API key rolls the pods with no interruption. > [accordion] Stop access and uninstall > > You can stop all access from your cluster at any time. > > Stop the satellite and keep the configuration: > > ```bash theme={null} > kubectl scale deploy/tolmo-satellite -n tolmo-satellite --replicas=0 > ``` > > Uninstall the satellite: > > ```bash theme={null} > helm uninstall tolmo-satellite --namespace tolmo-satellite > ``` > > You can also revoke the API key in [**Settings → API keys**](https://app.tolmo.com/settings/api-keys). The satellite then refuses all connections. ## Availability This feature is in early access. To request it, contact [support@tolmo.com](mailto:support@tolmo.com). The app does not have a self-service page to enable targets yet. For now, you select the targets to test with the Tolmo team. # Keep up with production changes Source: https://docs.tolmo.com/pentesting/production-changes See which production changes Tolmo detects, which agent reacts to each change, and how to set the Red schedule and Blue triggers to match your releases. A pentest shows production on the day of the test. After that day, each deploy adds endpoints, hostnames, and cloud resources that the pentest did not see. Your scanners also continue to send alerts. Tolmo continues to test production as it changes. Thus, you know what an attacker can reach today, and you do not wait for the next yearly pentest. ## Changes that Tolmo detects Tolmo builds a [knowledge graph](/knowledge-graph/overview) of production from the accounts that you connect. For each asset, the graph records when Tolmo first saw it and when Tolmo last saw it. A recent first-seen time shows that an asset is new. | Change | Where Tolmo sees it | | - | - | | New domains and hostnames | Cloud DNS, Cloudflare, and certificate transparency | | New applications and HTTP endpoints | Your repositories, through GitHub or GitLab | | New or changed cloud resources and exposure | AWS, GCP, Azure, and the other cloud and hosting providers that you connect | | New third-party findings | Security tools such as Wiz, Snyk, Aikido, Socket, HackerOne, and Bugcrowd | ## Agent reactions and timing | Change | What reacts | When | | - | - | - | | New hosts, endpoints, or cloud exposure in an authorized domain | The **Red team agent** reads the current graph at the start of each run. Thus, the next run includes the new surface. | On the Red schedule, or when you start a run | | A new finding from a connected security tool | If a trigger matches the finding, the **Blue team agent** tries to prove or disprove it. | Immediately, daily, or weekly, as the trigger sets | | A fix that you shipped | **Retest** replays the exploit. The **Green team agent** rechecks findings that an agent exploited before. | When you retest | An authorized domain is a domain where an organization admin enabled offensive testing. See [Define scope](/pentesting/scope). > [!NOTE] > > Red runs on a schedule or when you start a run. A new endpoint waits for the next scheduled run. Thus, set a schedule that matches how often you ship. ## Set the Red schedule The Red schedule sets how often the Red team agent pentests all authorized domains automatically. You set a frequency, a start time, and a timezone: * **Daily**: every *N* days. * **Weekly**: every *N* weeks, on one or more weekdays. You can pause the schedule during a release freeze. Tolmo keeps your settings. When you resume the schedule, automatic runs start again. > [!TIP] > > If you deploy every day, use a daily schedule. Then the time between a change and its first test is less than one day. After a large release, start a run immediately. Do not wait for the next scheduled run. To set the schedule from the CLI, use `tolmo red-agent schedule`: ```bash theme={null} tolmo red-agent schedule get tolmo red-agent schedule set --frequency week --interval 1 --days mon,thu --time 09:00 --timezone Europe/Paris tolmo red-agent schedule pause tolmo red-agent schedule resume ``` For all flags, see the [red-agent command reference](/cli/commands/red-agent). ### Start a run now You can start a run at any time, for example after a large release. To start a run from the CLI, use this command: ```bash theme={null} tolmo red-agent run ``` A run that you start tests the same authorized domains as a scheduled run. It does not change the time of the next scheduled run. ## Add Blue triggers for new third-party findings A Blue trigger sets which new findings from your other security tools Blue tries to exploit. It also sets when Blue starts. For what Blue does with each finding, see [Validate the findings you already have](/pentesting/third-party-findings). A trigger matches new findings by severity. It can also match by source, such as Wiz or Snyk. A trigger runs in one of two modes: * **On arrival**: Blue starts when a matching finding arrives. * **On a schedule**: Blue starts daily, or weekly on a day that you select. Start with one trigger that verifies each new critical finding when it arrives. Blue checks the triggers in order and uses the first trigger that matches. A finding that matches no trigger follows your default setting. The default setting is off, daily, or weekly. ### Limit Blue to testing hours You can limit Blue to testing hours on the days that you select. Use this setting to keep verification traffic to specified times. Outside the testing hours, no Blue run starts. If a run continues when the testing hours end, Tolmo stops the run. Tolmo starts the run again when the testing hours start again. ## Get notified about changes When [notifications](/agents/notifications) are on, Tolmo sends a validated finding to Slack when an agent proves it. The finding is also in your next email digest. ## Next steps > [card] [How the Red team agent tests](/pentesting/red-team-agent) > > The steps of a run, from recon to a validated finding. > [card] [Define scope](/pentesting/scope) > > Select the domains that the agents can test, and give the agents test accounts. # How the Red team agent tests Source: https://docs.tolmo.com/pentesting/red-team-agent Learn what the Red team agent does during a run: it maps your attack surface, examines each vulnerability class, exploits each candidate again, and reports only what it reproduced. ![Tolmo Red team agent](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/cover.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=aa544f03fe9cf51dbba5d95ae8986a36) The Red team agent pentests your authorized domains from the outside. An authorized domain is a domain where an organization admin enabled offensive testing. The agent reports only the issues that it reproduced. The agent creates a finding only when a request gets a result that it must not get. The finding keeps that request as proof. ## The stages of a run Each run has five stages. **1. Map the attack surface** The agent reads your [knowledge graph](/knowledge-graph/overview) to find all applications and HTTP endpoints in your authorized domains. The agent also reads the source code of your connected repositories. The source code shows routes that are not in the graph yet, such as routes added after the last scan. The agent reads the graph at the start of each run. Thus, each run includes new surface. **2. Examine each vulnerability class** Each vulnerability class has a specialist agent. Each specialist examines the full attack map with the source code and the live application. The specialist records each candidate issue that it finds. **3. Exploit each candidate again** A different agent, the verifier, exploits each candidate again on the live target. A candidate becomes a finding only if the verifier triggers it and the result has an impact. A stability check then reproduces each finding again. The check removes findings that do not reproduce each time. **4. Score, explain, and chain** Each finding gets a CVSS v4.0 score and a root cause. The root cause points to the code. Some low-severity findings share an asset. The agent can combine these findings into one attack chain with a higher severity. **5. Report and check coverage** The agent writes the report and compares it with the graph. The report lists the endpoints that no test touched. These endpoints are coverage gaps. ## Vulnerability classes By default, each run tests these vulnerability classes: | Class | Examples | | - | - | | **Authentication** | Broken login flows, weak session handling, password reset flaws | | **Injection** | SQL injection, command injection, cross-site scripting | | **Access control** | Insecure direct object references, privilege escalation, data visible to the wrong tenant | | **SSRF and XXE** | Server-side request forgery and XML external entities that reach internal services | | **Business logic** | Flows that an attacker can abuse, such as price tampering or skipped steps | ### Tests with and without a login Without credentials, the agent tests what an anonymous visitor can reach. With [test accounts](/pentesting/scope#give-the-agents-test-accounts), the agent signs in and tests what a signed-in user can do. Give the agent two accounts with different roles. Then it can test for privilege escalation and for data that leaks between users. ### Limits The agent tests only the hostnames in your [authorized domains](/pentesting/scope). The agent sends state-changing requests (`PUT`, `PATCH`, `DELETE`) only when **Allow state-changing requests** is on. This setting is on by default. See [Safety and authorization](/safety). The agent does not change your code or your infrastructure. The agent gives you the fix, and you decide what to ship. ## Run statuses You can see the status of each run in the app and in [Mission Control](/agents/mission-control). | Status | Meaning | | - | - | | **Queued** | The run waits to start. | | **Running** | The agent tests your domains. | | **Completed** | The run finished. The results show what the agent found. | | **Failed** | The run did not finish. | | **Canceled** | Someone stopped the run before it finished. | ![A run completed strip naming the run id, eighteen of eighteen paths, the duration, the host, and a two new findings tag.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/run-completed.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=cd5aa834c3887c9b698d18c33cff5434) A completed run: the run, the number of paths that it tested, its duration, and its target. ### Runs with no findings A completed run with no findings means this: the agent did not reproduce an issue on the surface that it tested. Mission Control shows this run with its result. Thus, you can see the difference between a run with no findings and a run that did not start. ## Run results Each run shows three counts. The counts show the same issues at three levels of certainty. ![Three metrics side by side: Discovered 18 potential issues found, Needs review 3 require your attention, Validated 11 confirmed exploitable.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/results-metrics.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=d6362132d81d695059c4ae1e2496b943) Discovered, Needs review, Validated. | Count | What it counts | | - | - | | **Discovered** | All possible issues that the run found, before the agent decided what it can prove. | | **Needs review** | Issues that the agent could not decide. A person on your team must decide. | | **Validated** | Issues that the agent reproduced. The agent keeps the request that reproduced each issue as evidence. | For the parts of a single finding, see [Understand a finding](/pentesting/findings). ## Next steps > [card] [Define scope](/pentesting/scope) > > Enable offensive testing on domains and add test accounts. > [card] [Keep up with production changes](/pentesting/production-changes) > > Set the schedule to match your releases. # Retest a fix Source: https://docs.tolmo.com/pentesting/retest Retest a finding to replay its exploit after you ship a fix. Learn which agent runs, what Resolved means, and which findings you cannot retest. When you retest a finding, Tolmo's agents try to exploit it again on your live authorized target. If the exploit does not work, the finding becomes **Resolved**. ## Retest a finding 1. Ship the fix to the environment that the agent tested. 2. Retest the finding. 3. Tolmo starts a verification run and tells you which agent runs. Tolmo runs only one retest for each finding at a time. If a retest is already in progress, Tolmo tells you. ## The agent that runs Tolmo selects the agent from what it knows about the finding. | The finding is… | Agent | What the agent does | | - | - | - | | Not proven | **Blue team agent** | Tries to prove the finding with a first exploit. | | Exploited before | **Green team agent** | Replays the stored exploits on the live target. | You can see the run in the run history of that agent and in [Mission Control](/agents/mission-control). ## Retest results | Result | New exploitability | What to do | | - | - | - | | The exploit does not work | **Resolved** | Close the finding. | | The exploit still works | **Validated exploit** (no change) | The fix did not close the issue. Read the new evidence. | | The agent proved the issue for the first time | **Validated exploit** | Fix the issue. See [Fix a finding](/pentesting/fix). | | The agent showed that the issue is not exploitable | **Not exploitable** | Mark the finding as a false positive, or close it. | | The run did not get a clear result | No change | Read the run to find what was missing, such as credentials. | If the target of a finding is outside your authorized domains, the finding waits with the state **No permitted domain**. [Enable offensive testing on the domain](/pentesting/scope), then retest. ## Findings that you cannot retest You cannot retest these findings: * A draft finding. Publish the draft first. * A CVE finding, such as a vulnerable package version from a dependency scanner. To fix a CVE finding, upgrade the package. The scanner then reports the change. * An older exploited finding that has no stored exploit. Tolmo exploited these findings before it started to store exploits that it can replay. ## Testing hours You can set [testing hours](/pentesting/production-changes#limit-blue-to-testing-hours). If you request a retest outside these hours, the retest waits until the testing hours start. Tolmo tells you when the retest will start. ## Closed findings stay closed You can close a finding or mark it as a false positive. The next run does not show that finding as new again. ## Next steps > [card] [Validate the findings you already have](/pentesting/third-party-findings) > > Let Blue prove or disprove alerts from your scanners. > [card] [Mission Control](/agents/mission-control) > > See all agent runs in one place. # Define scope: domains and test accounts Source: https://docs.tolmo.com/pentesting/scope Enable offensive testing on the domains that Tolmo's agents can test, give the agents test accounts, and write instructions that the agents read on each run. The scope sets where the agents can act. It also sets what the agents can reach in your app. You set the scope one time. After that, the next run includes new hostnames in your authorized domains. You do not have to make a new decision for each hostname. ## Authorized domains The scope is the list of hostnames that the agents can test. No other setting adds hostnames to the scope. On each run, the agents do not test a hostname that is outside the scope. An authorized domain is a domain where an organization admin enabled offensive testing. ### Why authorization is a separate step Tolmo builds your domain inventory from these sources: * Your cloud DNS. * Your connected providers. * Certificate transparency logs. The inventory can include names that your organization does not control, such as the hostname of a partner or a lookalike domain. Thus, Tolmo does not use the inventory as permission to attack. You enable offensive testing on each domain yourself. ### Enable offensive testing Enable offensive testing on each hostname that you want the agents to test. To include all hostnames in a domain, include all subdomains. Only organization admins can enable or disable offensive testing. Tolmo records the admin who enabled it. Tolmo also records the version of the testing terms that the admin accepted. ![Domains listed from the inventory with hostname counts and controls to authorize or revoke testing.](https://mintcdn.com/tolmo/kiwEv-e5yPkqiwY3/images/red-team-agent/domains-permit.png?fit=max\&auto=format\&n=kiwEv-e5yPkqiwY3\&q=85\&s=853fcc9c10d225df0e902134264a413d) The domains that the agents can test. Each row shows the number of known hostnames that it includes. ### What an entry includes If you include all subdomains, the entry includes the domain and all hostnames in it. For example, you enable offensive testing on `staging.example.com` and include its subdomains. The entry then includes `api.staging.example.com`. It also includes each hostname that appears in `staging.example.com` later. Thus, the next run tests a new service that you deploy there. A new apex domain is not in scope until you enable offensive testing on it. ### Disable testing When you disable offensive testing on a hostname, the change applies immediately. The agents read the list each time they start work. Thus, the next run or retest does not test that hostname. > [!NOTE] > > This list is the same for the whole organization. Red, Blue, and Green all read it. If the target of a finding is outside the list, the finding waits with the state **No permitted domain**. The finding waits until you enable offensive testing on its domain. ## Give the agents test accounts Without credentials, the agents test only what an anonymous visitor can reach. Most serious issues are behind a login. Thus, test accounts change the results of the agents more than all other settings. Each test account has a login method: | Login method | Use it when | | - | - | | **Login** | Your app signs users in with a username or email and a password. Add the login URL. | | **Bearer token** | Your API accepts `Authorization: Bearer <token>`. | | **Custom header** | Your API accepts a token in a different header, such as `X-API-Key`. | You can add notes to an account. Use the notes to tell the agents the purpose of the account and when to use it. The agents read the notes. The notes also appear in exploit traces. You can give each account a role, such as `admin` or `member`. Give the agents two accounts with different roles. Then the agents can test for privilege escalation. Some accounts sign in with one-time codes. For these accounts, add the **Authenticator seed**. The agents use the seed to make each six-digit code when they need it. The agents do not need a phone or an authenticator app. ### Use the recommended emails Tolmo gives you **recommended emails**. These are email addresses that Tolmo controls. Use these addresses to register your test accounts in your app. Then the agents can receive sign-up emails and one-time-code emails without your help. Use the first two addresses for usual tests. Use the other two addresses for isolation tests and privilege tests. For example, an isolation test makes sure that one user cannot read the data of a different user. ### Manage accounts from the CLI ```bash theme={null} tolmo red-agent accounts list tolmo red-agent accounts create --help ``` The CLI does not show secrets. See the [red-agent command reference](/cli/commands/red-agent). ## Leave instructions for the agents **Other instructions** are notes that the agents read on each run. Write these notes: * How to reach the app, such as the start URL or the sign-up steps. * Which areas to avoid, such as a payment flow that makes real charges. You can also write business rules. For example, write "only admins can export invoices." With this rule, the agents can identify abuse. ## Allow or block state-changing requests **Allow state-changing requests** controls whether the Red team agent can send `PUT`, `PATCH`, and `DELETE` requests to your authorized domains. For example, with these requests the agent can edit a cart or delete a record that it created. When the setting is off, Tolmo tells the agent not to change your data. The agent can still make harmless changes to its own test account. It can also change the records that it created. ## Check that you are ready Red can run when both of these conditions are true: * You connected an integration that Red can scan. * You enabled offensive testing on at least one domain. Tolmo shows you the missing items. The CLI also shows them: ```bash theme={null} tolmo red-agent readiness ``` ## Next steps > [card] [Safety and authorization](/safety) > > What the agents do and do not do in production. > [card] [Keep up with production changes](/pentesting/production-changes) > > Set the schedule and the triggers. # Validate the findings you already have Source: https://docs.tolmo.com/pentesting/third-party-findings Connect your scanners, and let the Blue team agent prove or disprove each new alert in production. Then you work only on the issues that an attacker can use. Your scanners send more alerts than your team can examine. Many of these alerts are not exploitable in your environment. The Blue team agent tries to exploit each new alert from your tools on your live authorized target. Blue starts when the alert arrives, or on a schedule that you select. Each attempt gives a proof of exploitation or a "not exploitable" result with a reason. ## Connect your security tools Blue works on findings from the security tools that you connect: | Category | Tools | | - | - | | Cloud and code security | Wiz, Snyk, Aikido, Socket, Upwind, Corridor | | Bug bounty | HackerOne, Bugcrowd | | Compliance | Drata | For the full list, see the [integrations catalog](/integrations/catalog). To add a tool, see [Connect an integration](/integrations/connect). For a different tool, import its Markdown security report with the [findings commands](/cli/commands/findings). ## Choose which findings Blue tests Blue runs on the findings that match your triggers. For example, one trigger tests each new critical finding when it arrives. A second trigger tests high-severity Wiz findings one time each day. For all trigger options and testing hours, see [Add Blue triggers](/pentesting/production-changes#add-blue-triggers-for-new-third-party-findings). Blue starts when you connect a findings integration. Blue tests only targets in your [authorized domains](/pentesting/scope). To test one finding immediately, [retest it](/pentesting/retest). ## Blue verdicts For each finding, Blue gives one of these verdicts: | Verdict | What it means | Exploitability | | - | - | - | | **Exploited** | Blue proved the issue on your live authorized target. Blue keeps the exploit as evidence. | **Validated exploit** | | **Not exploitable** | Blue disproved the mechanism, or a control stopped the attack, or no external path exists. | **Not exploitable**, or **Defence in depth** if the internet cannot reach the target | | **Inconclusive** | Blue had a target but did not get a clear result. This verdict does not count against the finding. | No change | | **Error** | Blue could not try the exploit. The reason shows what was missing, such as a target URL, credentials, or an authorized domain. | No change, or **No permitted domain** | When Blue proves a finding, the finding gets the same evidence and fix prompt as a finding from the Red team agent. See [Understand a finding](/pentesting/findings). > [!NOTE] > > Blue does not change the finding in the source tool. Tolmo keeps the Blue verdict and your triage decisions. A later scan from the source tool can still update the provider status. ## See which alerts were real The **Validated exploits** view shows all validated exploits from all sources. Filter the view by source. Then you can see which scanner alerts an attacker can use. ## Next steps > [card] [Triage at scale](/pentesting/triage) > > Filter, group, and triage findings from all sources. > [card] [Agents overview](/agents/overview) > > How Red, Blue, and Green work together. # Triage at scale Source: https://docs.tolmo.com/pentesting/triage Triage findings from Tolmo's agents and all connected scanners in one list: saved views, filters, tickets for many findings, status history, attachments, and secret detections. **Findings** shows all findings in one list. The list contains findings from Tolmo's agents, findings from your connected scanners, and issues that your team reported. To read a single finding, see [Understand a finding](/pentesting/findings). ## Start from a saved view The list opens on **Validated exploits**. This view shows the findings that an agent proved in production. Four views are available: | View | What it shows | | - | - | | **Validated exploits** | Validated exploits with all remediation statuses. | | **High and critical opened** | High and critical findings with the **Open** status. | | **Closed** | Findings with the **Closed** status. | | **Backlog** | Open findings that wait for exploitation or triage. | ## Filter and search You can add filters to a view. You can remove each filter separately. | Filter | Values | | - | - | | Severity | Critical, High, Medium, Low, or Info | | Status | The [triage status](/pentesting/findings#triage-status) | | Exploitability | Validated exploit, Not exploitable, Not validated, or Resolved | | Source | Tolmo, or a connected tool such as Wiz | | Search | Titles, external IDs, rules, and resource keys | For a more complex filter, write an **Advanced** query expression, such as `origin:wiz severity:critical`. The URL keeps the filter. Thus, you can send a filtered view to a teammate. ## Act on many findings at once Select more than one finding. Then you can [create tickets](/pentesting/fix#create-tickets) for all of them in Linear or Fibery. You can also [export them as a PDF report](/pentesting/fix#export-a-pentest-report). ## Keep the record Each finding keeps a status history. The history shows each status change, the person who made it, and the justification. The chronology of a finding shows when an agent detected it, exploited it, and retested it. It also shows when someone closed it. Your team can also attach evidence files to a finding, such as a review PDF. ## Report an issue yourself You can add an issue that you found yourself or that a customer told you about. Use **Report a finding**. Give the issue a title, a description, and a location. Also give your estimate of its severity. Tolmo grades the issue during triage. ## Duplicates Sometimes two scanners report the same issue. Tolmo then marks one finding as **Duplicate** and links it to the other finding. Work on the original finding. You can see the duplicate with its own filter. ## Secret detections Detected secrets are not in the findings list. An example of a detected secret is an API key in a repository commit. To read detected secrets, use the API endpoint [List secret findings](/api-reference/secrets/list-secret-findings). Each detection contains these items: * Its resource, rule, and severity. * The times when Tolmo observed it. * Its triage verdict, if a verdict exists. ## Work from the CLI or API The CLI and the API give you access to the same findings: ```bash theme={null} tolmo findings list --status open --severity critical tolmo findings get <finding-id> tolmo findings history <finding-id> ``` See the [findings command reference](/cli/commands/findings) and the [API reference](/api-reference/introduction). ## Next steps > [card] [Fix a finding](/pentesting/fix) > > Copy the fix prompt, link the pull request, or create a ticket. > [card] [Query findings with SQL](/knowledge-graph/sql-cypher) > > Ask the questions that filters cannot answer. # Quickstart: start continuous pentesting Source: https://docs.tolmo.com/quickstart Connect an account, authorize a domain, start your first pentest, fix and retest a finding, then set a testing schedule. This guide takes you from a new Tolmo organization to continuous pentesting. You must have an invitation first. See [Request access](/request-access). Before you start, prepare these items: * Access to a cloud account (AWS, Google Cloud, Azure, or Cloudflare) or a code host (GitHub or GitLab). You must be able to connect it. * At least one domain you are authorized to test. * *(Recommended)* A dedicated test login for your application. **1. Connect your first account** Connect a cloud account or a code host. The first scan starts immediately. Results usually arrive within one hour. During the scan, Tolmo builds your [knowledge graph](/knowledge-graph/overview). Tolmo also finds your domains, hosts, and applications. For all supported providers, see the [integrations catalog](/integrations/catalog). **2. Authorize a domain** Enable offensive testing on a domain that you own. If you have a staging domain, start with it. [Safety and authorization](/safety) explains the scope that you authorize. **3. Add a test account (recommended)** Give the agents a test login. Also give them the notes that they need to reach your app. Without a login, the agents test only the pages that an anonymous visitor can reach. See [Define scope](/pentesting/scope). **4. Start your first pentest** Start a Red team run. The run tests all authorized domains. It reports only the issues that it can exploit. **5. Review a validated finding** Open a finding. The finding shows what happened and why it is important. It also shows the request that exploited the issue. See [Understand a finding](/pentesting/findings). **6. Fix and retest** Give the fix prompt to your coding agent. Ship the change. Then retest the finding. When the attack fails, Tolmo resolves the finding. See [Fix a finding](/pentesting/fix) and [Retest a fix](/pentesting/retest). **7. Make it continuous** Set a daily or weekly schedule for the Red team agent. Let the Blue team agent validate new findings from your security tools when they arrive. Send notifications to Slack or email. Then you get new findings without opening Tolmo. See [Keep up with production changes](/pentesting/production-changes) and [Notifications](/agents/notifications). ## Next steps > [card] [How the Red team agent tests](/pentesting/red-team-agent) > > The steps of a run, from recon to the verified report. > [card] [Validate the findings you already have](/pentesting/third-party-findings) > > Let the Blue team agent prove or disprove your scanner alerts. # Request access and plans Source: https://docs.tolmo.com/request-access Tolmo is invite-only. Join the waitlist, get access within 48 hours, and prepare for your first run. Tolmo is invite-only. You must have an invitation to sign up. ## Request access Join the waitlist at [app.tolmo.com/waitlist](https://app.tolmo.com/waitlist) with your work email. Our team grants access within 48 hours. ## Prepare for day one Prepare these items. Then your first run can start on the day that you get access. | What | Why | | - | - | | A cloud or code account to connect | AWS, Google Cloud, Azure, Cloudflare, GitHub, or GitLab. Tolmo finds your attack surface from this account. See the [integrations catalog](/integrations/catalog). | | A domain you are authorized to test | The agents test only the domains that you authorize. See [Safety and authorization](/safety). | | A dedicated test login | The agents use this login to test the pages that signed-in users can reach. Use a test account. Do not use the account of a real user. | | A Slack channel *(optional)* | Tolmo sends new findings and a daily digest to this channel. | ## Trials and plans Our team sets up your trial when it creates your organization. For pricing, contact us at [support@tolmo.com](mailto:support@tolmo.com). # Safety and authorization Source: https://docs.tolmo.com/safety Tolmo's agents test only your authorized domains. See which data they can modify and how to stop testing immediately. Tolmo tests production. Thus, you decide which domains the agents test and which data they can modify. ## The agents test only authorized domains Tolmo builds your domain inventory from public DNS and certificate transparency. The inventory can include names that your organization does not own, for example a partner's hostname or a typosquat. The inventory alone does not put a domain in scope. An authorized domain is a domain that has offensive testing enabled. An organization admin must enable offensive testing for each domain. Tolmo records the version of the testing terms that the admin accepted. The agents do not test a domain until an admin enables offensive testing for it. No run tests a hostname outside your authorized domains. An agent can produce a finding for a hostname outside your authorized domains. In this case, Tolmo holds the finding as **No permitted domain** and does not act on it. [Define scope: domains and test accounts](/pentesting/scope) gives the full procedure. ## New hosts under an authorized domain are in scope An authorized domain includes the domain and all hostnames under it. For example, when you authorize `staging.example.com`, Tolmo also tests `api.staging.example.com`. Tolmo also tests each new host that appears under `staging.example.com`. Thus, Tolmo keeps up with production. When you deploy a new service under an authorized domain, the next run tests it. You do not do an extra step. A new apex domain is not in scope. It stays out of scope until you enable offensive testing for it. > [!TIP] > > Each domain row shows the number of known hostnames under the domain. Use this number to see the size of the scope before you enable offensive testing. ## Disable testing at any time When you disable offensive testing for a domain, the change applies immediately. The agents read the list of authorized domains when each run starts. Thus, the next run does not test the domain. The list of authorized domains is one setting for the whole organization. The Red, Blue, and Green agents all use this list. ## Control state-changing requests The **Allow state-changing requests** setting controls the `PUT`, `PATCH`, and `DELETE` requests of the Red team agent. These requests go to your authorized domains. For example, the agent can modify a cart or delete a record that it created. | Setting | What the Red team agent does | | - | - | | **On** (default) | The agent can send state-changing requests to prove an issue. | | **Off** | Tolmo instructs the agent not to modify data in your app. The agent can make harmless modifications to its own test account and to the records that it created. | > [!WARNING] > > This setting is on by default. Some environments contain test data that must not change. Before the first run on such an environment, turn off this setting. Alternatively, authorize a staging domain. ## Limit when Blue runs You can set **testing hours** for the Blue team agent. Blue does not start a run outside these hours. When the testing hours end, Tolmo stops each Blue run that is in progress. When the testing hours start again, Tolmo starts these runs again. Tolmo also starts the runs that waited. ## You control the test accounts To test pages behind a login, the agents use test accounts. You create and manage these accounts. You can delete an account at any time. Use only dedicated test accounts. Do not use real user accounts. ## How Tolmo identifies its traffic The agents test from the outside, like an attacker with no inside knowledge. Their traffic identifies itself as test traffic. ## How Tolmo handles your data and credentials Integration credentials stay on the Tolmo server. You can query a connected service through Tolmo. In this case, the server resolves the credentials. The server does not send the credentials to your terminal. Each finding keeps the request and the response that proved it. Thus, you can review what the agent did. For Tolmo's security program, compliance reports, and subprocessors, see the [Trust Center](https://trust.tolmo.com).