datadog update-incident
Update an incident
Description
Update an incident
Synopsis
datadog update-incident
[--site <site>]
<incident>
--team <team>
<user>
[--integration <integration>]
[--postmortem <postmortem>]
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
incident
- (string)
The UUID of the incident
Example: "incident-1"
Default: _None_
Attributes: required
team
- (string)
Id of incident team
Example: --team "team-1"
Default: _None_
Attributes: required
user
- (string)
ID of the user
Example: "user-1"
Default: _None_
Attributes: required
integration
- (string)
A unique identifier that represents the integration metadata
Example: --integration "integration-1"
Default: _None_
Attributes: optional, multiple allowed
postmortem
- (string)
A unique identifier that represents the postmortem
Example: --postmortem "postmortem-1"
Default: _None_
Attributes: optional, multiple allowed
Examples
Input:
!datadog update-incident "0a9893cb-856f-44b1-941a-373a89527b6a" --incident "5411d415-7eac-5743-9eee-5fd808bb4754"
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 | "update" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "incident" |
Object ID |
Please see Access Control for details.