- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- PriorityGroup
- PriorityCount
- Try it!
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 |
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: "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 ( |
Fields | |
---|---|
priority_groups[] |
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 ( |
Fields | |
---|---|
group |
The group the priorities are aggregated by. Currently always "vendor_name". |
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. |