Skip to content

datadog list-incidents

Get incident details

Description

Get incident details

Synopsis

datadog list-incidents
    [--site <site>]
    [--incident <incident>]
    [--size <size>]
    [--offset <offset>]

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 "incident-1"
     Default: _None_      Attributes: optional

size - (int)

     Size for a given page. The maximum allowed value is 5000
     Example: --size 1
     Default: _None_      Attributes: optional

     Validation:
         max: 5000

offset - (int)

     Specific offset to use as the beginning of the returned page
     Example: --offset 1
     Default: _None_      Attributes: optional

Examples

Input:

!datadog list-incidents --size 10
Output:
ID                                      TYPE        TITLE       DETECTED                            RESOLVED    CREATED-BY
e42d2dc1-f906-583b-8667-743f5a8852ab    incidents   hard Impact 2023-01-10T12:06:50.999600+00:00    null        0a587d98-0727-41fc-b926-027cb686ec8d
5411d415-7eac-5743-9eee-5fd808bb4754    incidents   hard Impact 2023-01-10T12:15:07.660862+00:00    null        0a587d98-0727-41fc-b926-027cb686ec8d

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "datadog"
Service Instance
Namespace
Object Type "incident"
Object ID

Please see Access Control for details.