API

ProjectFinding

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}/verification/projects/{project_id}/pages/findings list ProjectFindingsPage

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:

project_findings, err := client.ProjectFinding(nil).List(map[string]any{"organization_id": "example", "project_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(project_findings)

Lua

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

local project_findings, err = client:ProjectFinding():list({ organization_id = "example", project_id = "example" })

PHP

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

$project_findings = $client->ProjectFinding()->list(["organization_id" => "example", "project_id" => "example"]);

Python

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

project_findings = client.ProjectFinding().list({"organization_id": "example", "project_id": "example"})

Ruby

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

project_findings = client.ProjectFinding.list({ "organization_id" => "example", "project_id" => "example" })

TypeScript

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

const project_findings = await client.ProjectFinding().list({ organization_id: "example", project_id: "example" })

Fields

Field Type Required Description
deferred_until one,string,null No Deferred Until
environment_name string Yes Environment Name
id string Yes Id
last_seen_at string Yes Last Seen At
locked boolean Yes True for a locked finding of the workspace's included scan before it pays.
severity string Yes Severity
source string Yes The workflow that produced the finding
source_title string Yes The scenario, Discovery or Deep Scan that produced the finding
status string Yes Status
title string Yes Title
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.
web_path string Yes Where the finding is reviewed within its source

list

GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/pages/findings

Operation ID: api_v1_verification_project_pages_findings.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
state query enum: active, closed, deferred No Active by default; deferred lists postponed issues; closed lists resolved and ignored ones
query query string No Search finding titles and summaries; counts reflect the search across all pages
source query enum: all, scenario_run, exploration, deep_scan No Workflow that reported the finding, including earlier sightings
run_id query string No Discovery, Deep Scan or scenario execution public ID
priority query enum: all, P0, P1, P2, P3, P4 No
page query integer No

Responses

200: ProjectFindingsPage

application/json

Property Type Required Description
findings array of object Yes Findings from scenario runs, Discoveries and Deep Scans, highest priority first, then most recently seen
findings[].deferred_until string (date-time) No
findings[].environment_name string Yes
findings[].id string Yes
findings[].last_seen_at string (date-time) Yes
findings[].locked boolean Yes True for a locked finding of the workspace's included scan before it pays. Its title, source title and verification reason are empty.
findings[].severity enum: critical, high, medium, low, info Yes
findings[].source enum: scenario_run, exploration, deep_scan Yes The workflow that produced the finding
findings[].source_title string Yes The scenario, Discovery or Deep Scan that produced the finding
findings[].status enum: open, resolved, ignored, deferred Yes
findings[].title string Yes
findings[].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.
findings[].web_path string Yes Where the finding is reviewed within its source
pagination object Yes
pagination.count integer Yes
pagination.last integer Yes
pagination.limit integer Yes
pagination.next integer Yes
pagination.page integer Yes
pagination.previous integer Yes
pagination.series array of integer or string Yes
permissions object Yes
permissions.manage boolean Yes
priority_options array of object Yes Priority totals matching the search and selected lifecycle, across all pages
priority_options[].count integer Yes
priority_options[].label string Yes
priority_options[].value enum: all, P0, P1, P2, P3, P4 Yes
project object Yes
project.archived_at string,null Yes
project.demo boolean Yes A signup's demo project, copied from the Acme Notes template. Archiving removes it.
project.execution_mode enum: website, computer_use Yes
project.icon_url string,null Yes
project.id string Yes
project.lock_version integer Yes
project.name string Yes
project.slug string Yes
run_options array of object Yes The 100 most recent runs with findings, plus the authorized selected run even if older or empty
run_options[].label string Yes
run_options[].source enum: scenario_run, exploration, deep_scan Yes
run_options[].value string Yes
state_options array of object Yes Lifecycle totals matching the search, across all priorities and pages
state_options[].count integer Yes
state_options[].label string Yes
state_options[].value enum: active, deferred, closed Yes
status_options array of enum: open, resolved, ignored, deferred Yes Statuses a manager may set
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway