source_kind set to anomaly. See Anomalies and findings for how the band
and resolution work. Security findings use the same model and lifecycle; see
Security findings.
Operations
The findings that share an entity with one finding (
entities.findingCorrelations) and the risk
score of the entities that findings name are in the Entities API.
To read or change secret and PII redaction at ingest, see the PII settings API.
Reads need findings:read. findings.mute, findings.assign, findings.bulkUpdate,
findings.acknowledge, findings.setVerdict, and findings.updateAnomalyPolicy need
findings:write. A key with the read or write shortcut has them.
List findings
security_severity, rule_id, verdict, and entity return only security findings. For example,
verdict=none lists the security findings without an agent verdict, never an anomaly.
sort=severity uses the severity that a finding shows: the security severity, from
informational to fatal, when the finding has one, otherwise critical for a critical
finding and medium for a warning finding. sort=status puts open before resolved in
asc order. Findings with the same value come newest last_seen_at first. A cursor works only
with the sort and order that made it; send the same values with cursor, or the API returns
400.
{ "data": [Finding], "next_cursor": string | null }. A finding has these fields:
unit is ms, ratio (a fraction from 0 to 1, such as an error rate), or count.
Get one finding
findings.get returns { finding, evaluations, series, evidence }:
evaluations: each hourly evaluation, oldest first, withobserved, the band,breached, and arevisionthat increases when late data changes an hour.series: hourly values from 24 hours before the finding started to its end (or now), at most 7 days. Each point has the expected band of that hour.evidence.deployments: up to 10 deployments from 6 hours before the first breach to 1 hour after the last one.evidence.error_groups: up to 5 top issues of the service in that time.
404.
Security findings
Detections, probes, runtime CVEs, PII leaks, and imported findings are findings with a securitysource_kind. They use the same list, detail, and mute operations as anomalies. Their status can be open, resolved, or suppressed. Their
signal is security. The anomaly policy never opens an incident for a security finding.
The
security object has these fields:
Export a finding as OCSF
security.findings.export returns the finding as an OCSF 1.9.0
event. Runtime CVE and probe findings are Vulnerability Findings (class_uid 2002) with
vulnerabilities; all other findings are Detection Findings (class_uid 2004). The rule is
finding_info.analytic, entities are observables, and evidence links are evidences. A new
finding has activity_id 1 and status_id 1, an acknowledged open finding has status_id 2 (In
Progress), and a resolved finding has activity_id 3 and status_id 4. Times are epoch milliseconds. Fields with no OCSF attribute are in unmapped. The
export is built on each request and needs findings:read.
Security overview
security.overview.get returns the numbers of the dashboard’s Security overview page in one read.
It counts security findings only (detection, probe, runtime_cve, pii_leak, imported),
never anomalies, and needs findings:read.
A finding that was reopened after it was resolved does not count in
resolved or resolved_7d.
Runtime end of life and CVEs
security.runtimes.list reads the runtime (process.runtime.name, process.runtime.version) and
SDK (telemetry.sdk.name, telemetry.sdk.language, telemetry.sdk.version) that each service
reports in its OpenTelemetry resource attributes over the last hours (1 to 168, default 24).
Filter with service. Node.js, Python, Go, Java, .NET, Ruby, and PHP runtimes get a verdict:
Bun and Deno have
emulated: true and the verdict untracked: they report the Node.js version
they emulate, not their own release. Each component lists known CVEs from
OSV (data CC-BY 4.0), ranked with entries on the CISA
Known Exploited Vulnerabilities
list first, then by FIRST EPSS score, then by severity.
fix_version is the lowest version that fixes every critical, high, and KEV-listed CVE.
Lifecycle dates come from endoflife.date. Feed data is cached for 24
hours. OSV query results are paged with a bounded read. When a feed cannot be read, feeds shows
it as stale or unavailable and the response still returns. An incomplete OSV read can report
findings that were observed; daily finding reconciliation does not resolve a finding from missing
feed data. Maven packages use Maven ComparableVersion ordering. Java 8 versions support update
forms such as 1.8.0_292 and 8u292. Each OSV affected range is
evaluated independently, including multiple introduced/fixed windows.
Once a day, Squasher stores the same results as findings with source_kind runtime_cve: one per
service and component for an end-of-life runtime, for known CVEs, and for KEV-listed CVEs. A
KEV-listed CVE is critical; an EPSS score of 0.1 or more raises a CVE one severity step. These
findings never open an incident by default. When the service moves to a fixed version, the
finding resolves.
Mute a finding
until must be in the future and at most 30 days ahead. Send {"until": null} to unmute. A mute
does not change the finding’s status. The response is the updated finding.
Anomaly policy
Anomalies do not open incidents by default. Send
incident_rules with findings.updateAnomalyPolicy
to open an incident for the signals and severities you choose:
finding and uses the project’s notification
routes and on-call paging.
Import scanner findings
POST /v1/projects/{project_id}/findings/import (security.findings.import, needs findings:write)
stores scanner results as findings with source_kind = "imported" and checks each one against the
last 7 days of production spans. See Scanner findings import for the
formats and the check.
Each item of
findings in the response has the scanner’s severity (unchanged), reachability
(reachable, unreachable, or unknown), a reachability_rank from 0 to 3 for sorting, and
hit_in_prod with status, requests, callers, auth_failures, errors, and the routes.
With dry_run=true nothing is stored and finding_id is null. Importing the same document again
stores nothing new (transition: "unchanged").
CLI and MCP
policy set also takes --enabled, --timezone, --recovery-buckets, and --no-paging. In MCP
Code Mode, call search("findings"). security.overview.get, security.findings.export, and
security.runtimes.list are available in MCP. security.findings.import is not available in MCP yet; use the CLI or the API.
Related: Anomalies and findings, Incidents API.
Resolve, reopen, or suppress a finding
These operations needfindings:write. Each change has an audit entry.
findings.resolve works for security findings and anomaly findings. Resolve an anomaly that will
not return to its band by itself, for example the finding of a retired service that sends no
data. A resolved anomaly stays resolved: if the series leaves its band again, Squasher opens a new
finding. Reopen and suppress are for security findings only; they return 400 for an anomaly.
To keep an anomaly from opening an incident, use findings mute.
Send
{}, a close_reason (resolve and suppress), and an optional reason comment. Suppress also accepts suppressed_until, a future ISO time.
Without that time, suppression continues until you reopen the finding. At that time, the finding
returns to open during the next scan. Reads do not change stored status. The response includes resolved_at, resolved_by, resolution_reason, and
suppressed_until. A resolved finding reopens with the same ID when the scanner sees it again.
A suppressed finding stays suppressed when it is seen again. A re-seen resolved finding reports
transition: "reopened". If an active finding exists in the same series, reopen and suppress
return 409 with its open_finding_id. A repeated resolve with a new reason or actor updates
the resolution details and records an audit event.
Close reasons
A security finding always closes with a reason. When the request has noclose_reason, Squasher
records undetermined. Reopen clears the reason, and so does a scanner that sees the finding
again.
The two
false_positive_* reasons count toward a rule’s false_positive_rate in
security.overview.get. An anomaly stores a close_reason only when you send one.
Add ?dry_run=true to preview the state. The response is { dry_run: true, finding } and no change
is saved. Idempotency-Key is optional. A repeat with the same caller, operation, key, and request
returns the first response. A different request with the same key returns 422.
findings.bulkUpdate
request (at most 100 IDs). It first checks every finding with dry_run, so an unknown ID or a
refused change stops the command before any finding changes. --dry-run prints those
results ({ "dry_run": true, "findings": [...] }). Without it, the CLI asks you to confirm; with
--json, --non-interactive, or in a script, pass --yes. The output is { "findings": [...] }.
The TypeScript client has client.findings.resolve(id, { close_reason, reason }), .reopen(id), and
.suppress(id, { suppressed_until }). Pass { dryRun: true, idempotencyKey: "change-1" } as the
third argument to preview. MCP Code Mode exposes the same three operation IDs to a connection with write access, or to an
owner or admin connection whose access includes findings:write. In the dashboard,
open a security finding and select Change status: Resolve and Suppress ask for a close
reason, and Acknowledge moves a new finding to in progress. On the Findings page, By rule
groups the findings by detection rule, and Close all closes every open finding of one rule with
one close reason. Status changes need a project administrator.
Assign a finding
findings.assign sets the member who works on a finding. The assignee must be a member of the
project’s organization; any other user ID returns 400. Send {"assignee_user_id": null} to
clear it. The response is the finding with assignee_user_id. The same assignee again changes
nothing. ?dry_run=true and Idempotency-Key work as for a status change. The change needs
findings:write and has an audit entry.
Finding activity
findings.listEvents returns { data: [event] }, oldest first. Each status, assignee, and mute
change by a person, an API key, an agent, or Squasher (for example, when a timed suppression ends)
is one event:
When a user is deleted,
actor.user_id and actor.name of their events become null.
Changes by the detector itself (a finding opens, or its series returns to its band) are on the
finding, not in its activity. Run squasher findings events FINDING_ID --project PROJECT_ID. The
finding page in the dashboard shows the same activity.
Change many findings at once
findings.bulkUpdate applies one action (resolve, reopen, suppress, assign, or
acknowledge) to 1 to 100 findings of the project. close_reason, reason, and
suppressed_until work as for one finding;
assign needs assignee_user_id (a member’s user ID, or null). Each finding changes on its own.
The response is { data: [finding], errors: [{ finding_id, code, open_finding_id? }] }: data
lists the findings that changed, and errors lists the others. code is not_found,
conflict (an active finding of the same series exists; see open_finding_id), or
anomaly_unsupported (anomaly findings support only resolve), assignee_not_member (the
assignee left the organization while the request ran), or not_open (only an open finding can be
acknowledged). With ?dry_run=true, nothing is
saved and the response has dry_run: true.
The TypeScript client has client.findings.assign(id, userId), .listEvents(id), and
.bulkUpdate({ action, finding_ids }). MCP Code Mode exposes findings.assign and
findings.bulkUpdate to the same connections as the status changes, and findings.listEvents to
every connection that can read findings. In the dashboard, an owner or admin selects rows on the
Findings page and uses the bar at the bottom of the page, or picks an assignee in a row or on
the finding page.
OCSF exports map new to New (status_id=1), acknowledged open findings to In Progress (2),
suppressed to Suppressed (3), and resolved to Resolved (4). Repeated evaluations do not change
the triage state.
Acknowledge a finding
findings.acknowledge takes an open security finding into work: security.triage_state changes
from new to in_progress, and acknowledged_at and acknowledged_by record when and who. A
finding in progress does not change. The first resolve, suppress, or reopen also counts as the
acknowledgement. A closed finding or an anomaly returns 400. The time from first_seen_at to
acknowledged_at is the time to acknowledge in security.overview.get. A scanner that sees a
resolved finding again sets it back to new.
Agent verdicts
findings.setVerdict stores what an agent concluded after it checked the evidence: verdict is
benign, suspicious, malicious, or inconclusive, confidence is from 0 to 1, and evidence
lists up to 25 things it checked (query, log, trace, url, or note, with a ref and an
optional label). A new verdict replaces the old one. The verdict is separate from the close
reason and never changes the status: a person or the agent closes the finding with
findings.resolve or findings.suppress. The finding returns the verdict as
security.agent_verdict, and the activity has a verdict event.
Group findings by rule
findings.listRuleGroups takes the list filters except rule_id, sort, and the page, and
returns { data: [group] }: one row per detection rule with findings, open, new, the worst
OCSF severity, services, first_seen_at, last_seen_at, and sample_title (the newest
finding title). Most findings come first, at most 100 rules. Findings without a rule are not in
a group. To close a noisy rule’s findings, list them with rule_id and send their IDs to
findings.bulkUpdate with a close_reason. Run squasher findings rule-groups --project PROJECT_ID.
Complete scanner reports
An import keeps the same issue in different services or environments separate. A repeat import for the same scanner, issue, service, and environment uses the same finding. For a complete scanner report, addscan: { id, source, completed_at } to the import body.
Use a stable scanner source and a unique ID for each run. Use the same run ID for retries.
Set incomplete: true when a report is partial or a scanner fails. Only a complete report for the
same source, service, and environment can count a missing finding. Empty reports are incomplete
and never count. Ordinary imports without scan metadata cannot resolve missing findings.
The server records completion with its own clock. completed_at is scanner metadata only. A
scanner timestamp more than five minutes in the future returns 400.
Automatic resolution is off by default. When enabled, two complete, successful scans that do not
see a finding resolve it with resolution_reason: "not_seen". A failed feed, incomplete region,
or timeout cannot resolve a finding. A finding that is seen again reopens.