Skip to main content
POST
Search

Authorizations

Authorization
string
header
required

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

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

The FindingSearchRequest message.

appIds
string[] | null

Filter by app IDs (OR within field).

appResourceIds
string[] | null

Filter by app resource IDs (OR within field). Matches findings whose target.app_resource_target.app_resource_id is in this list. An app resource is app-scoped, so pair with app_ids (and app_resource_type_ids) to hit the composite (tenant_id, app_id, app_resource_type_id, app_resource_id) index.

appResourceTraitIds
string[] | null

Filter to findings whose target resource's type carries any of these traits (e.g. the builtin agent / secret trait ids). OR within field; empty = not applied.

appResourceTypeIds
string[] | null

Filter by app resource type IDs (OR within field). Matches findings whose target.app_resource_target.app_resource_type_id is in this list.

appUserIds
string[] | null

Filter by app user IDs (OR within field). Matches findings whose target.app_user_target.app_user_id is in this list.

appUserTypes
enum<string>[] | null

Filter to findings whose target is an app user of these types (OR within field). Empty = not applied.

Available options:
APP_USER_TYPE_UNSPECIFIED,
APP_USER_TYPE_USER,
APP_USER_TYPE_SERVICE_ACCOUNT,
APP_USER_TYPE_SYSTEM_ACCOUNT
connectorIds
string[] | null

Filter by connector IDs (OR within field). Matches findings whose target.connector_target.connector_id is in this list.

customSubTypes
string[] | null

Filter by custom sub-type (OR within field). Matches custom findings whose custom_sub_type equals any listed value.

decoyIds
string[] | null

Filter by decoy IDs (OR within field). Matches findings whose target.decoy_target.decoy_id is in this list.

findingTypes
enum<string>[] | null

Filter by finding type (OR within field).

Available options:
FINDING_TYPE_UNSPECIFIED,
FINDING_TYPE_SIMILAR_USERNAME_MATCH,
FINDING_TYPE_SERVICE_ACCOUNT_MISCLASSIFICATION,
FINDING_TYPE_NHI_UNOWNED,
FINDING_TYPE_SERVICE_ACCOUNT_UNOWNED,
FINDING_TYPE_DECOY_CREDENTIAL_USED,
FINDING_TYPE_CUSTOM,
FINDING_TYPE_CONNECTOR_ANOMALY_DETECTION_DISABLED
includeUnassigned
boolean

When true, includes findings with no effective identity-user owner. An explicit predicate for direct API callers who prefer a bool over the "unassigned" sentinel in owner_identity_user_ids; both signals are accepted.

nhiTypes
enum<string>[] | null

Filter to findings whose target resource's nhi_type is one of these (OR within field). Empty = not applied; pass all NhiType values to match any nhi resource.

Available options:
NHI_TYPE_UNSPECIFIED,
NHI_TYPE_APP_REGISTRATION,
NHI_TYPE_ASSUMABLE_ROLE,
NHI_TYPE_MANAGED_IDENTITY
ownerIdentityUserIds
string[] | null

Filter by effective owner identity-user IDs (OR within field). Matches findings whose effective owner (assigned_owner if set, else computed_owner) resolves to an identity user in this list. The reserved "unassigned" sentinel token selects findings with no effective identity-user owner; real identity-user IDs are exactly 27 alphanumerics so the token cannot collide.

pageSize
integer<int32>

Maximum number of findings to return per page.

pageToken
string

Pagination token from a previous response.

query
string

Free text search query.

refs
Finding Ref · object[] | null

Restrict results to these finding refs by ID (OR within field). Backs the websocket-notify re-query, which refetches just the changed finding(s) to patch a row in place or detect it dropping out of the filter; empty = not applied. Hits the (tenant_id, id) primary key.

scopeToAppOwner
boolean

When true, restricts results to findings for apps you own. The caller is resolved from request credentials (no user id is read from the request), so results are always limited to your own apps.

severities
enum<string>[] | null

Filter by severities (OR within field).

Available options:
FINDING_SEVERITY_UNSPECIFIED,
FINDING_SEVERITY_INFO,
FINDING_SEVERITY_LOW,
FINDING_SEVERITY_MEDIUM,
FINDING_SEVERITY_HIGH,
FINDING_SEVERITY_CRITICAL
sourceKinds
enum<string>[] | null

Filter by source kind (OR within field).

Available options:
FINDING_SOURCE_KIND_UNSPECIFIED,
FINDING_SOURCE_KIND_DETECTOR,
FINDING_SOURCE_KIND_EXTERNAL
states
enum<string>[] | null

Filter by states (OR within field).

Available options:
FINDING_STATE_UNSPECIFIED,
FINDING_STATE_OPEN,
FINDING_STATE_IN_PROGRESS,
FINDING_STATE_RESOLVED,
FINDING_STATE_SNOOZED,
FINDING_STATE_RISK_ACCEPTED,
FINDING_STATE_SUPPRESSED

Response

200 - application/json

Successful response

The FindingSearchResponse message.

list
Finding · object[] | null

The list field.

nextPageToken
string

The nextPageToken field.