Skip to content

Commit 220f67e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4c23ac63 of spec repo
1 parent 306a60a commit 220f67e

27 files changed

+1587
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-12-26 16:01:43.683289",
8-
"spec_repo_commit": "f2e98b01"
7+
"regenerated": "2025-01-02 14:22:31.189047",
8+
"spec_repo_commit": "4c23ac63"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-26 16:01:43.698056",
13-
"spec_repo_commit": "f2e98b01"
12+
"regenerated": "2025-01-02 14:22:31.203944",
13+
"spec_repo_commit": "4c23ac63"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7340,6 +7340,140 @@ components:
73407340
meta:
73417341
$ref: '#/components/schemas/CSMAgentsMetadata'
73427342
type: object
7343+
CsmCloudAccountsCoverageAnalysisAttributes:
7344+
description: CSM Cloud Accounts Coverage Analysis attributes.
7345+
properties:
7346+
aws_coverage:
7347+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7348+
azure_coverage:
7349+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7350+
gcp_coverage:
7351+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7352+
org_id:
7353+
description: The ID of your organization.
7354+
example: 123456
7355+
format: int64
7356+
type: integer
7357+
total_coverage:
7358+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7359+
type: object
7360+
CsmCloudAccountsCoverageAnalysisData:
7361+
description: CSM Cloud Accounts Coverage Analysis data.
7362+
properties:
7363+
attributes:
7364+
$ref: '#/components/schemas/CsmCloudAccountsCoverageAnalysisAttributes'
7365+
id:
7366+
description: The ID of your organization.
7367+
example: 66b3c6b5-5c9a-457e-b1c3-f247ca23afa3
7368+
type: string
7369+
type:
7370+
default: get_cloud_accounts_coverage_analysis_response_public_v0
7371+
description: The type of the resource. The value should always be `get_cloud_accounts_coverage_analysis_response_public_v0`.
7372+
example: get_cloud_accounts_coverage_analysis_response_public_v0
7373+
type: string
7374+
type: object
7375+
CsmCloudAccountsCoverageAnalysisResponse:
7376+
description: CSM Cloud Accounts Coverage Analysis response.
7377+
properties:
7378+
data:
7379+
$ref: '#/components/schemas/CsmCloudAccountsCoverageAnalysisData'
7380+
type: object
7381+
CsmCoverageAnalysis:
7382+
description: CSM Coverage Analysis.
7383+
properties:
7384+
configured_resources_count:
7385+
description: The number of fully configured resources.
7386+
example: 8
7387+
format: int64
7388+
type: integer
7389+
coverage:
7390+
description: The coverage percentage.
7391+
example: 0.8
7392+
format: double
7393+
type: number
7394+
partially_configured_resources_count:
7395+
description: The number of partially configured resources.
7396+
example: 0
7397+
format: int64
7398+
type: integer
7399+
total_resources_count:
7400+
description: The total number of resources.
7401+
example: 10
7402+
format: int64
7403+
type: integer
7404+
type: object
7405+
CsmHostsAndContainersCoverageAnalysisAttributes:
7406+
description: CSM Hosts and Containers Coverage Analysis attributes.
7407+
properties:
7408+
cspm_coverage:
7409+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7410+
cws_coverage:
7411+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7412+
org_id:
7413+
description: The ID of your organization.
7414+
example: 123456
7415+
format: int64
7416+
type: integer
7417+
total_coverage:
7418+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7419+
vm_coverage:
7420+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7421+
type: object
7422+
CsmHostsAndContainersCoverageAnalysisData:
7423+
description: CSM Hosts and Containers Coverage Analysis data.
7424+
properties:
7425+
attributes:
7426+
$ref: '#/components/schemas/CsmHostsAndContainersCoverageAnalysisAttributes'
7427+
id:
7428+
description: The ID of your organization.
7429+
example: 66b3c6b5-5c9a-457e-b1c3-f247ca23afa3
7430+
type: string
7431+
type:
7432+
default: get_hosts_and_containers_coverage_analysis_response_public_v0
7433+
description: The type of the resource. The value should always be `get_hosts_and_containers_coverage_analysis_response_public_v0`.
7434+
example: get_hosts_and_containers_coverage_analysis_response_public_v0
7435+
type: string
7436+
type: object
7437+
CsmHostsAndContainersCoverageAnalysisResponse:
7438+
description: CSM Hosts and Containers Coverage Analysis response.
7439+
properties:
7440+
data:
7441+
$ref: '#/components/schemas/CsmHostsAndContainersCoverageAnalysisData'
7442+
type: object
7443+
CsmServerlessCoverageAnalysisAttributes:
7444+
description: CSM Serverless Resources Coverage Analysis attributes.
7445+
properties:
7446+
cws_coverage:
7447+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7448+
org_id:
7449+
description: The ID of your organization.
7450+
example: 123456
7451+
format: int64
7452+
type: integer
7453+
total_coverage:
7454+
$ref: '#/components/schemas/CsmCoverageAnalysis'
7455+
type: object
7456+
CsmServerlessCoverageAnalysisData:
7457+
description: CSM Serverless Resources Coverage Analysis data.
7458+
properties:
7459+
attributes:
7460+
$ref: '#/components/schemas/CsmServerlessCoverageAnalysisAttributes'
7461+
id:
7462+
description: The ID of your organization.
7463+
example: 66b3c6b5-5c9a-457e-b1c3-f247ca23afa3
7464+
type: string
7465+
type:
7466+
default: get_serverless_coverage_analysis_response_public_v0
7467+
description: The type of the resource. The value should always be `get_serverless_coverage_analysis_response_public_v0`.
7468+
example: get_serverless_coverage_analysis_response_public_v0
7469+
type: string
7470+
type: object
7471+
CsmServerlessCoverageAnalysisResponse:
7472+
description: CSM Serverless Resources Coverage Analysis response.
7473+
properties:
7474+
data:
7475+
$ref: '#/components/schemas/CsmServerlessCoverageAnalysisData'
7476+
type: object
73437477
CustomConnection:
73447478
description: The definition of `CustomConnection` object.
73457479
properties:
@@ -33589,6 +33723,72 @@ paths:
3358933723
summary: Get all CSM Agents
3359033724
tags:
3359133725
- CSM Agents
33726+
/api/v2/csm/onboarding/coverage_analysis/cloud_accounts:
33727+
get:
33728+
description: 'Get the CSM Coverage Analysis of your Cloud Accounts.
33729+
33730+
This is calculated based on the number of your Cloud Accounts that are
33731+
33732+
scanned for security issues.'
33733+
operationId: GetCSMCloudAccountsCoverageAnalysis
33734+
responses:
33735+
'200':
33736+
content:
33737+
application/json:
33738+
schema:
33739+
$ref: '#/components/schemas/CsmCloudAccountsCoverageAnalysisResponse'
33740+
description: OK
33741+
'403':
33742+
$ref: '#/components/responses/NotAuthorizedResponse'
33743+
'429':
33744+
$ref: '#/components/responses/TooManyRequestsResponse'
33745+
summary: Get the CSM Cloud Accounts Coverage Analysis
33746+
tags:
33747+
- CSM Coverage Analysis
33748+
/api/v2/csm/onboarding/coverage_analysis/hosts_and_containers:
33749+
get:
33750+
description: 'Get the CSM Coverage Analysis of your Hosts and Containers.
33751+
33752+
This is calculated based on the number of agents running on your Hosts
33753+
33754+
and Containers with CSM feature(s) enabled.'
33755+
operationId: GetCSMHostsAndContainersCoverageAnalysis
33756+
responses:
33757+
'200':
33758+
content:
33759+
application/json:
33760+
schema:
33761+
$ref: '#/components/schemas/CsmHostsAndContainersCoverageAnalysisResponse'
33762+
description: OK
33763+
'403':
33764+
$ref: '#/components/responses/NotAuthorizedResponse'
33765+
'429':
33766+
$ref: '#/components/responses/TooManyRequestsResponse'
33767+
summary: Get the CSM Hosts and Containers Coverage Analysis
33768+
tags:
33769+
- CSM Coverage Analysis
33770+
/api/v2/csm/onboarding/coverage_analysis/serverless:
33771+
get:
33772+
description: 'Get the CSM Coverage Analysis of your Serverless Resources.
33773+
33774+
This is calculated based on the number of agents running on your Serverless
33775+
33776+
Resources with CSM feature(s) enabled.'
33777+
operationId: GetCSMServerlessCoverageAnalysis
33778+
responses:
33779+
'200':
33780+
content:
33781+
application/json:
33782+
schema:
33783+
$ref: '#/components/schemas/CsmServerlessCoverageAnalysisResponse'
33784+
description: OK
33785+
'403':
33786+
$ref: '#/components/responses/NotAuthorizedResponse'
33787+
'429':
33788+
$ref: '#/components/responses/TooManyRequestsResponse'
33789+
summary: Get the CSM Serverless Coverage Analysis
33790+
tags:
33791+
- CSM Coverage Analysis
3359233792
/api/v2/csm/onboarding/serverless/agents:
3359333793
get:
3359433794
description: Get the list of all CSM Serverless Agents running on your hosts
@@ -47920,6 +48120,15 @@ tags:
4792048120

4792148121
Go to https://docs.datadoghq.com/security/cloud_security_management to learn more'
4792248122
name: CSM Agents
48123+
- description: 'Datadog Cloud Security Management (CSM) delivers real-time threat
48124+
detection
48125+
48126+
and continuous configuration audits across your entire cloud infrastructure,
48127+
48128+
all in a unified view for seamless collaboration and faster remediation.
48129+
48130+
Go to https://docs.datadoghq.com/security/cloud_security_management to learn more.'
48131+
name: CSM Coverage Analysis
4792348132
- description: Cloud Security Management Threats (CSM Threats) monitors file, network,
4792448133
and process activity across your environment to detect real-time threats to your
4792548134
infrastructure. See [Cloud Security Management Threats](https://docs.datadoghq.com/security/threats/)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-12-19T17:17:10.296Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "CSM Coverage Analysis/Get the CSM Cloud Accounts Coverage Analysis returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "f1570efe40b47cebfbcdace56479e8bc",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 563,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/csm/onboarding/coverage_analysis/cloud_accounts"
29+
},
30+
"response": {
31+
"bodySize": 691,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 691,
35+
"text": "{\"data\":{\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\",\"type\":\"get_cloud_accounts_coverage_analysis_response_public_v0\",\"attributes\":{\"aws_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":4,\"total_resources_count\":10,\"coverage\":0.4},\"azure_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":2,\"total_resources_count\":6,\"coverage\":0.3333333333333333},\"gcp_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":2,\"total_resources_count\":4,\"coverage\":0.5},\"org_id\":321813,\"total_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":8,\"total_resources_count\":20,\"coverage\":0.4}}}}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 525,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2024-12-19T17:17:10.491Z",
51+
"time": 205
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-12-19T17:17:10.704Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "CSM Coverage Analysis/Get the CSM Hosts and Containers Coverage Analysis returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "ac8b113561fd9c48abee7e0b772938dc",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 574,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/csm/onboarding/coverage_analysis/hosts_and_containers"
29+
},
30+
"response": {
31+
"bodySize": 657,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 657,
35+
"text": "{\"data\":{\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\",\"type\":\"get_hosts_and_containers_coverage_analysis_response_public_v0\",\"attributes\":{\"cspm_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":0,\"total_resources_count\":9,\"coverage\":0},\"cws_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":0,\"total_resources_count\":9,\"coverage\":0},\"org_id\":321813,\"total_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":0,\"total_resources_count\":9,\"coverage\":0},\"vm_coverage\":{\"partially_configured_resources_count\":0,\"configured_resources_count\":0,\"total_resources_count\":0}}}}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 525,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2024-12-19T17:17:10.707Z",
51+
"time": 524
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-12-19T17:17:11.235Z"

0 commit comments

Comments
 (0)