datadog get-incident-teams
Get all/specific incident teams for the requesting user's organization
Description
Get all/specific incident teams for the requesting user's organization
Synopsis
datadog get-incident-teams
[--site <site>]
[--size <size>]
[--offset <offset>]
[--filter <filter>]
[--team <team>]
[--include <include>]
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
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
filter
- (string)
A search query that filters teams by name
Example: --filter "filter-1"
Default: _None_
Attributes: optional
team
- (string)
Id of incident team
Example: --team "team-1"
Default: _None_
Attributes: optional
include
- (string)
Specifies which types of related objects should be included in the response
Example: --include "include-1"
Default: _None_
Attributes: optional
Validation:
allowed values: users, attachments
Examples
Input:
Output:ID NAME CREATOR
f616dd89-1421-5daf-ac2c-6795ee48b1a4 testTeaetvfsdfcm 0a587d98-0727-41fc-b926-027cb686ec8d
0cfcc7b1-4462-5b74-8b4a-28528c442701 testTeam 0a587d98-0727-41fc-b926-027cb686ec8d
ID NAME CREATOR
f616dd89-1421-5daf-ac2c-6795ee48b1a4 testTeaetvfsdfcm 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 | "host" |
Object ID |
Please see Access Control for details.