Method: findings.fetchSimilar

Full name: projects.locations.instances.findings.fetchSimilar

Fetch similar Findings to the one provided.

HTTP request

GET https://chronicle.googleapis.com/v1alpha/{name}:fetchSimilar

Path parameters

Parameters
name

string

Required. The resource name of the finding to retrieve similar findings for. Format: projects/{project}/locations/{location}/instances/{instance}/findings/{finding}

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of similar findings to return. The service may return fewer than this value. If unspecified, at most 100 similar findings will be returned. The maximum value for page_size is 1000.

pageToken

string

Optional. A page token, received from a previous FetchSimilarFindings call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to FetchSimilarFindings must match the call that provided the page token.

Request body

The request body must be empty.

Response body

Response message for GetSimilarFindings.

If successful, the response body contains data with the following structure:

JSON representation
{
  "detections": [
    {
      object (Collection)
    }
  ],
  "next_page_token": string
}
Fields
detections[]

object (Collection)

List of all similar detections.

next_page_token

string

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.