API

Finding

A problem Verify found: list, read or update findings.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/verify/findings list Findings observed in the organization, newest first
GET /api/v1/organizations/{organization_id}/verify/findings/{id} load Combined Verify finding detail snapshot
PATCH /api/v1/organizations/{organization_id}/verify/findings/{id} patch Finding status updated
PUT /api/v1/organizations/{organization_id}/verify/findings/{id} update Success

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

findings, err := client.Finding(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(findings)
finding, err := client.Finding(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(finding)
updated, err := client.Finding(nil).Update(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(updated)
patched, err := client.Finding(nil).Patch(map[string]any{"id": "example_id", "organization_id": "example", "repository_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(patched)

Lua

Construct client as shown in the Lua setup, then call the operations:

local findings, err = client:Finding():list({ organization_id = "example" })
local finding, err = client:Finding():load({ id = "example_id", organization_id = "example" })
local updated, err = client:Finding():update({ id = "example_id", organization_id = "example" })
local patched, err = client:Finding():patch({ id = "example_id", organization_id = "example", repository_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$findings = $client->Finding()->list(["organization_id" => "example"]);
$finding = $client->Finding()->load(["id" => "example_id", "organization_id" => "example"]);
$updated = $client->Finding()->update(["id" => "example_id", "organization_id" => "example"]);
$patched = $client->Finding()->patch(["id" => "example_id", "organization_id" => "example", "repository_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

findings = client.Finding().list({"organization_id": "example"})
finding = client.Finding().load({"id": "example_id", "organization_id": "example"})
updated = client.Finding().update({"id": "example_id", "organization_id": "example"})
patched = client.Finding().patch({"id": "example_id", "organization_id": "example", "repository_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

findings = client.Finding.list({ "organization_id" => "example" })
finding = client.Finding.load({ "id" => "example_id", "organization_id" => "example" })
updated = client.Finding.update({ "id" => "example_id", "organization_id" => "example" })
patched = client.Finding.patch({ "id" => "example_id", "organization_id" => "example", "repository_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const findings = await client.Finding().list({ organization_id: "example" })
const finding = await client.Finding().load({ id: "example_id", organization_id: "example" })
const updated = await client.Finding().update({ id: "example_id", organization_id: "example" })
const patched = await client.Finding().patch({ id: "example_id", organization_id: "example", repository_id: "example" })

Fields

Field Type Required Description
confidence string Yes Confidence
created_at string Yes Created At
deferred_until one,string,null No Required future time when status is deferred
finding object Yes Finding
fingerprint string Yes Fingerprint
first_seen_at string Yes First Seen At
id string Yes Id
last_seen_at string Yes Last Seen At
locked boolean Yes True when the workspace's included scan reported this finding, it is not one of the free ones, and the workspace has not paid.
occurrence_count integer Yes Occurrence Count
organization_id string Yes Organization Id
permissions object Yes Permissions
reason string No Why the finding was resolved or ignored, such as "Expected for trial accounts".
reported_occurrence one,object,null No The Discovery or Deep Scan report behind the finding; null for scenario run findings
repository_id one,string,null Yes Repository Id
safe_summary string Yes Safe Summary
scenario_occurrences array No Scenario Occurrences
severity string Yes Severity
status string Yes Status
title string Yes Title
updated_at string Yes Updated At
verification any Yes Whether a model that did not report the finding, and for a P0 or P1 Deep Scan finding an independent rerun, confirmed it.

list

GET /api/v1/organizations/{organization_id}/verify/findings

Operation ID: api_v1_findings.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
status query string No

Responses

200: Findings observed in the organization, newest first

application/json

Property Type Required Description
[].confidence string Yes
[].created_at string (date-time) Yes
[].deferred_until string (date-time) No
[].fingerprint string Yes
[].first_seen_at string (date-time) Yes
[].id string Yes
[].last_seen_at string (date-time) Yes
[].locked boolean Yes True when the workspace's included scan reported this finding, it is not one of the free ones, and the workspace has not paid. Its title, summary and verification reason are empty.
[].occurrence_count integer Yes
[].organization_id string Yes
[].repository_id string Yes
[].safe_summary string Yes
[].severity string Yes
[].status enum: open, resolved, ignored, deferred Yes
[].title string Yes
[].updated_at string (date-time) Yes
[].verification object or null Yes Whether a model that did not report the finding, and for a P0 or P1 Deep Scan finding an independent rerun, confirmed it. Null for findings recorded before findings were checked.
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

load

GET /api/v1/organizations/{organization_id}/verify/findings/{id}

Operation ID: api_v1_finding.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes
repository_id query string No

Responses

200: Combined Verify finding detail snapshot

application/json

Property Type Required Description
finding object Yes
finding.confidence string Yes
finding.created_at string (date-time) Yes
finding.deferred_until string (date-time) No
finding.fingerprint string Yes
finding.first_seen_at string (date-time) Yes
finding.id string Yes
finding.last_seen_at string (date-time) Yes
finding.locked boolean Yes True when the workspace's included scan reported this finding, it is not one of the free ones, and the workspace has not paid. Its title, summary and verification reason are empty.
finding.occurrence_count integer Yes
finding.organization_id string Yes
finding.repository_id string Yes
finding.safe_summary string Yes
finding.severity string Yes
finding.status enum: open, resolved, ignored, deferred Yes
finding.title string Yes
finding.updated_at string (date-time) Yes
finding.verification object or null Yes Whether a model that did not report the finding, and for a P0 or P1 Deep Scan finding an independent rerun, confirmed it. Null for findings recorded before findings were checked.
permissions object Yes
permissions.manage boolean Yes
reported_occurrence object No The Discovery or Deep Scan report behind the finding; null for scenario run findings
reported_occurrence.expected string Yes
reported_occurrence.exploration_id string Yes
reported_occurrence.observed_at string (date-time) Yes
reported_occurrence.reproduction_steps array of string Yes
reported_occurrence.source enum: exploration, deep_scan Yes
reported_occurrence.source_title string Yes
reported_occurrence.url string Yes
reported_occurrence.web_path string Yes
scenario_occurrences array of object No
scenario_occurrences[].evidence_ids array of string Yes
scenario_occurrences[].observed_at string (date-time) Yes
scenario_occurrences[].project_id string Yes
scenario_occurrences[].run_id string Yes
scenario_occurrences[].scenario_name string Yes
scenario_occurrences[].scenario_run_id string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

patch

PATCH /api/v1/organizations/{organization_id}/verify/findings/{id}

Operation ID: patch_api_v1_organizations_organization_id_verify_findings_id_.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes
repository_id query string No
Idempotency-Key header string Yes

Request body

application/json

Property Type Required Description
deferred_until string (date-time) No Required future time when status is deferred
reason string No Why the finding was resolved or ignored, such as "Expected for trial accounts". Dreaming learns from it.
status enum: open, resolved, ignored Yes

Responses

200: Finding status updated

application/json

Property Type Required Description
confidence string Yes
created_at string (date-time) Yes
deferred_until string (date-time) No
fingerprint string Yes
first_seen_at string (date-time) Yes
id string Yes
last_seen_at string (date-time) Yes
locked boolean Yes True when the workspace's included scan reported this finding, it is not one of the free ones, and the workspace has not paid. Its title, summary and verification reason are empty.
occurrence_count integer Yes
organization_id string Yes
repository_id string Yes
safe_summary string Yes
severity string Yes
status enum: open, resolved, ignored, deferred Yes
title string Yes
updated_at string (date-time) Yes
verification object or null Yes Whether a model that did not report the finding, and for a P0 or P1 Deep Scan finding an independent rerun, confirmed it. Null for findings recorded before findings were checked.
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

update

PUT /api/v1/organizations/{organization_id}/verify/findings/{id}

Operation ID: put_api_v1_organizations_organization_id_verify_findings_id_.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway