Method: cases.countPriorities

Full name: projects.locations.instances.cases.countPriorities

Count a selection of cases by priority.

HTTP request

GET https://chronicle.googleapis.com/v1alpha/{parent}/cases:countPriorities

Path parameters

Parameters
parent

string

Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
filter

string

Required. Which cases to count. In aip.dev/160 form. Full filtering behavior is not implemented. Example: "response_platform_type=SIEMPLIFY AND status=OPEN AND product_name=SCC"

Request body

The request body must be empty.

Response body

Response message for CountCasePriorities.

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

JSON representation
{
  "priority_groups": [
    {
      object (PriorityGroup)
    }
  ]
}
Fields
priority_groups[]

object (PriorityGroup)

A sequence of groups and priority counts.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • chronicle.cases.countPriorities

For more information, see the IAM documentation.

PriorityGroup

The priority counts for a particular grouping.

JSON representation
{
  "group": string,
  "priorities": [
    {
      object (PriorityCount)
    }
  ]
}
Fields
group

string

The group the priorities are aggregated by. Currently always "vendor_name".

priorities[]

object (PriorityCount)

The sum of cases for each priority in this group.

PriorityCount

A priority value and its corresponding count.

JSON representation
{
  "priority": enum (Priority),
  "count": string
}
Fields
priority

enum (Priority)

The priority counted.

count

string (int64 format)

The count for this priority value.