Skip to content

Commit e21c87d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5d914f6 of spec repo
1 parent 4a397fb commit e21c87d

File tree

10 files changed

+191
-122
lines changed

10 files changed

+191
-122
lines changed

config/_default/menus/api.en.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5100,6 +5100,22 @@ menu:
51005100
unstable:
51015101
- v2
51025102
order: 4
5103+
- name: APM
5104+
url: /api/latest/apm/
5105+
identifier: apm
5106+
generated: true
5107+
- name: Get service list
5108+
url: '#get-service-list'
5109+
identifier: apm-get-service-list
5110+
parent: apm
5111+
generated: true
5112+
params:
5113+
versions:
5114+
- v2
5115+
operationids:
5116+
- GetServiceList
5117+
unstable: []
5118+
order: 1
51035119
- name: APM Retention Filters
51045120
url: /api/latest/apm-retention-filters/
51055121
identifier: apm-retention-filters
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title: APM
3+
---

content/en/api/v2/apm/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: APM
3+
headless: true
4+
---
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"GetServiceList": {
3+
"responses": {
4+
"200": {
5+
"json": {
6+
"data": {
7+
"attributes": {
8+
"metadata": [
9+
{
10+
"isTraced": false,
11+
"isUsm": false
12+
}
13+
],
14+
"services": []
15+
},
16+
"id": "string",
17+
"type": "services_list"
18+
}
19+
},
20+
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> metadata</p>\n </div>\n <div class=\"col-2 column\"><p>[object]</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">isTraced</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">isUsm</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">services</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">id</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">type&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>enum</p></div>\n <div class=\"col-6 column\"><p>Services list resource type. \nAllowed enum values: <code>services_list</code></p><p>default: <code>services_list</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
21+
},
22+
"429": {
23+
"json": {
24+
"errors": [
25+
"Bad Request"
26+
]
27+
},
28+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
29+
}
30+
},
31+
"request": {
32+
"json_curl": {},
33+
"json": {},
34+
"html": ""
35+
}
36+
}
37+
}

content/en/api/v2/csm-threats/examples.json

Lines changed: 48 additions & 100 deletions
Large diffs are not rendered by default.

content/en/api/v2/csm-threats/request.CreateCSMThreatsAgentRule_1295653933.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
}
1919
},
2020
{
21-
"hash": {
22-
"field": "exec.file"
23-
}
21+
"hash": {}
2422
}
2523
]
2624
},

content/en/api/v2/csm-threats/request.CreateCSMThreatsAgentRule_1363354233.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
"set": {
1414
"name": "test_set",
15-
"expression": "exec.file.path",
15+
"expression": "open.file.path",
1616
"default_value": "/dev/null",
1717
"scope": "process"
1818
}

data/api/v2/full_spec.yaml

Lines changed: 74 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10236,10 +10236,6 @@ components:
1023610236
description: Whether the policy is pinned
1023710237
example: false
1023810238
type: boolean
10239-
policyType:
10240-
description: The type of the policy
10241-
example: policy
10242-
type: string
1024310239
policyVersion:
1024410240
description: The version of the policy
1024510241
example: '1'
@@ -10418,11 +10414,11 @@ components:
1041810414
CloudWorkloadSecurityAgentPolicyVersion:
1041910415
description: The versions of the policy
1042010416
properties:
10421-
date:
10417+
Date:
1042210418
description: The date and time the version was created
1042310419
nullable: true
1042410420
type: string
10425-
name:
10421+
Name:
1042610422
description: The version of the policy
1042710423
example: 1.47.0-rc2
1042810424
type: string
@@ -10449,11 +10445,8 @@ components:
1044910445
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSet'
1045010446
type: object
1045110447
CloudWorkloadSecurityAgentRuleActionHash:
10452-
description: Hash file specified by the field attribute
10453-
properties:
10454-
field:
10455-
description: The field of the hash action
10456-
type: string
10448+
additionalProperties: {}
10449+
description: An empty object indicating the hash action
1045710450
type: object
1045810451
CloudWorkloadSecurityAgentRuleActionMetadata:
1045910452
description: The metadata action applied on the scope matching the rule
@@ -10501,14 +10494,9 @@ components:
1050110494
format: int64
1050210495
type: integer
1050310496
value:
10504-
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSetValue'
10497+
description: The value of the set action
10498+
type: string
1050510499
type: object
10506-
CloudWorkloadSecurityAgentRuleActionSetValue:
10507-
description: The value of the set action
10508-
oneOf:
10509-
- type: string
10510-
- type: integer
10511-
- type: boolean
1051210500
CloudWorkloadSecurityAgentRuleActions:
1051310501
description: The array of actions the rule can perform if triggered
1051410502
items:
@@ -51329,6 +51317,49 @@ components:
5132951317
$ref: '#/components/schemas/ServiceDefinitionData'
5133051318
type: array
5133151319
type: object
51320+
ServiceList:
51321+
properties:
51322+
data:
51323+
$ref: '#/components/schemas/ServiceListData'
51324+
type: object
51325+
ServiceListData:
51326+
properties:
51327+
attributes:
51328+
$ref: '#/components/schemas/ServiceListDataAttributes'
51329+
id:
51330+
type: string
51331+
type:
51332+
$ref: '#/components/schemas/ServiceListDataType'
51333+
required:
51334+
- type
51335+
type: object
51336+
ServiceListDataAttributes:
51337+
properties:
51338+
metadata:
51339+
items:
51340+
$ref: '#/components/schemas/ServiceListDataAttributesMetadataItems'
51341+
type: array
51342+
services:
51343+
items:
51344+
type: string
51345+
type: array
51346+
type: object
51347+
ServiceListDataAttributesMetadataItems:
51348+
properties:
51349+
isTraced:
51350+
type: boolean
51351+
isUsm:
51352+
type: boolean
51353+
type: object
51354+
ServiceListDataType:
51355+
default: services_list
51356+
description: Services list resource type.
51357+
enum:
51358+
- services_list
51359+
example: services_list
51360+
type: string
51361+
x-enum-varnames:
51362+
- SERVICES_LIST
5133251363
ServiceNowBasicAuth:
5133351364
description: The definition of the `ServiceNowBasicAuth` object.
5133451365
properties:
@@ -61593,6 +61624,27 @@ paths:
6159361624
permissions:
6159461625
- apm_retention_filter_write
6159561626
- apm_pipelines_write
61627+
/api/v2/apm/services:
61628+
get:
61629+
operationId: GetServiceList
61630+
responses:
61631+
'200':
61632+
content:
61633+
application/json:
61634+
schema:
61635+
$ref: '#/components/schemas/ServiceList'
61636+
description: OK
61637+
'429':
61638+
$ref: '#/components/responses/TooManyRequestsResponse'
61639+
security:
61640+
- apiKeyAuth: []
61641+
appKeyAuth: []
61642+
- AuthZ:
61643+
- apm_read
61644+
summary: Get service list
61645+
tags:
61646+
- APM
61647+
x-menu-order: 1
6159661648
/api/v2/app-builder/apps:
6159761649
delete:
6159861650
description: Delete multiple apps in a single request from a list of app IDs.
@@ -68233,6 +68285,7 @@ paths:
6823368285
- us3.datadoghq.com
6823468286
- us5.datadoghq.com
6823568287
- ap1.datadoghq.com
68288+
- ap2.datadoghq.com
6823668289
- datadoghq.eu
6823768290
- ddog-gov.com
6823868291
subdomain:
@@ -89363,6 +89416,9 @@ servers:
8936389416
tags:
8936489417
- description: Configure your API endpoints through the Datadog API.
8936589418
name: API Management
89419+
- description: Observe, troubleshoot, and improve cloud-scale applications with all
89420+
telemetry in context
89421+
name: APM
8936689422
- description: Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters)
8936789423
for your organization. You need an API and application key with Admin rights to
8936889424
interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters)

data/api/v2/translate_actions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@
339339
"request_description": "The updated definition of the retention filter.",
340340
"request_schema_description": "The body of the retention filter to be updated."
341341
},
342+
"GetServiceList": {
343+
"summary": "Get service list"
344+
},
342345
"DeleteApps": {
343346
"description": "Delete multiple apps in a single request from a list of app IDs. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).",
344347
"summary": "Delete Multiple Apps",

data/api/v2/translate_tags.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"name": "API Management",
44
"description": "Configure your API endpoints through the Datadog API."
55
},
6+
"apm": {
7+
"name": "APM",
8+
"description": "Observe, troubleshoot, and improve cloud-scale applications with all telemetry in context"
9+
},
610
"apm-retention-filters": {
711
"name": "APM Retention Filters",
812
"description": "Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters) for your organization. You need an API and application key with Admin rights to interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters) on the Trace Retention page for more information."

0 commit comments

Comments
 (0)