- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- PriorityGroup
- PriorityCount
Full name: projects.locations.instances.cases.countPriorities
Returns counts of cases aggregated by priority for a given set of filters. Use this method to get a high-level overview of the distribution of work across different severity levels.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/cases:countPriorities Path parameters
| Parameters | |
|---|---|
parent |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
| Parameters | |
|---|---|
filter |
Required. Which cases to count. In aip.dev/160 form. Full filtering behavior is not implemented. Example: "responsePlatformType=SIEMPLIFY AND status=OPEN AND productName=SCC" |
Request body
The request body must be empty.
Response body
Response message for cases.countPriorities.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"priorityGroups": [
{
object ( |
| Fields | |
|---|---|
priorityGroups[] |
A sequence of groups and priority counts. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
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 ( |
| Fields | |
|---|---|
group |
The group the priorities are aggregated by. Currently always "vendorName". |
priorities[] |
The sum of cases for each priority in this group. |
PriorityCount
A priority value and its corresponding count.
| JSON representation |
|---|
{
"priority": enum ( |
| Fields | |
|---|---|
priority |
The priority counted. |
count |
The count for this priority value. |