Skip to content

datadog list-incident-attachments

Get all attachments for a given incident (BETA)

Description

Get all attachments for a given incident (BETA)

Synopsis

datadog list-incident-attachments
    [--site <site>]
    <incident>

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

Examples

Input:

!datadog list-incident-attachments  "dcb957f4-8bfe-5ede-a41f-7f285cfc700e"
Output:
ID                                      TITLE       ATTACHMENT-TYPE ATTACHMENT-URL
3bf3a4fc-8429-5569-a85c-6356d3c8244d    utfj        link            https://docs.datadoghq.com/database_monitoring/query_samples/
29aaab41-74fc-5502-86ef-a9a9d327d034    utfj        link            https://docs.datadoghq.com/database_monitoring/query_samples/
0e72fed6-6bd2-548b-b200-332b294f0b85    updatedThis link            https://docs.datadoghq.com/database_monitoring/query_samples/

Access Control

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

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

Please see Access Control for details.