datadog create-incident
Create an incident
Description
Create an incident
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
title
- (string)
The title of the incident, which summarizes what happened
Example: --title "title-1"
Default: _None_
Attributes: required
customer_impacted
- (bool)
A flag indicating whether the incident caused customer impact
Example: --customer_impacted
Default: false
Attributes: optional
user
- (string)
ID of the user
Example: "user-1"
Default: _None_
Attributes: required
Examples
Input:
Output:ID TITLE RESOLVED SEVERITY CREATED-BY RESPONDER
5411d415-7eac-5743-9eee-5fd808bb4754 hard Impact null UNKNOWN 0a587d98-0727-41fc-b926-027cb686ec8d 1dc46497-256d-57f8-8c32-d1679925da2b'
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "create" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "incident" |
Object ID |
Please see Access Control for details.