Skip to main content
GET
List organization security finding occurrences

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

finding_id
string<uuid>
required

Query Parameters

project_id
string

The project to read: a project's UUID, or all for the whole organisation. Absent, the project the request acts in. A pinned token and a member limited to projects get a 403 for anything past their project.

page
integer
default:1
Required range: 1 <= x <= 10000
page_size
integer
default:50

Values above 100 are clamped to 100.

Required range: x >= 1
status
enum<string>

Keep only occurrences in one status, using the same predicates the finding row's disposition_counts are built from: open is active with no disposition, acknowledged and accepted_risk are active with that disposition, resolved is the resolved scan state. Omit it to list every occurrence, live and resolved.

Available options:
open,
acknowledged,
accepted_risk,
resolved
cluster_id
string<uuid>

Keep only occurrences observed on this cluster.

provider
enum<string>[]

Keep only occurrences whose finding comes from these providers: trivy_operator, node_kernel, node_packages or samma. A finding has one provider, so naming another answers an empty page; it exists so a client can pass its provider filter through unchanged.

Available options:
trivy_operator,
node_kernel,
node_packages,
samma
namespace
string
stack
string
image
string
member_resource_id
string<uuid>

Match occurrences attributed to this member of the selected stack.

occurrence_id
string<uuid>

Response

Successful response

pagination
object
required
result
object[]
required
member_resource_id
string<uuid>
member_kind
string
scope_applied
boolean

True when a workload, image or occurrence selector was applied.