- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- CasePriority
- Try it!
Full name: projects.locations.instances.legacyCases.createManualCase
Creates a manual case that will be displayed in your case queue in the same way as other cases.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}/legacyCases:createManualCase Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the LegacyCase to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/LegacyCases |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "title": string, "reason": string, "environment": string, "assignedUser": string, "tags": [ string ], "playbooks": [ string ], "entities": [ { object ( |
| Fields | |
|---|---|
title |
Required. Title is the title of the manual case. |
reason |
Optional. Reason is the reason for the manual case. |
environment |
Optional. Environment is the environment of the manual case. |
assignedUser |
Required. AssignedUser is the user assigned to the manual case. |
tags[] |
Optional. Tags is a list of tags for the manual case. |
playbooks[] |
Optional. Playbooks is a list of playbook GUIDs for the manual case. |
entities[] |
Optional. Entities is a list of entities for the manual case. |
alertName |
Optional. AlertName is the name of the alert. |
occurenceTime |
Optional. OccurrenceTime is the occurrence time of the event. Represents DateTime OccurrenceTime as unix time Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
priority |
Optional. Priority is the priority of the manual case. |
slaExpirationDateTime |
Optional. SlaExpirationDateTime is the SLA expiration time. Represents DateTime SlaExpirationDateTime as unix time Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
isImportant |
Optional. IsImportant indicates if the case is important. |
automaticPlaybookAttachment |
Optional. AutomaticPlaybookAttachment indicates if the case should be automatically attached to a playbook. |
Response body
Response message for legacyCases.createManualCase.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "payload": string } |
| Fields | |
|---|---|
payload |
Output only. The id of the created case. |
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 name resource:
chronicle.legacyCases.createManual
For more information, see the IAM documentation.
CasePriority
CasePriority represents the priority of a case. LINT.IfChange(CasePriority)
| Enums | |
|---|---|
UNCHANGED |
Unchanged case priority. |
LOW |
Low case priority. |
MEDIUM |
Medium case priority. |
HIGH |
High case priority. |
CRITICAL |
Critical case priority. |
INFORMATIVE |
Informative case priority. |