Skip to content

Commit

Permalink
Regenerate client from commit 68e41baa of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 13, 2024
1 parent 66f586d commit ba8591f
Show file tree
Hide file tree
Showing 22 changed files with 1,284 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:33.738479",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-13 17:35:47.000143",
"spec_repo_commit": "68e41baa"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:33.757607",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-13 17:35:47.019890",
"spec_repo_commit": "68e41baa"
}
}
}
243 changes: 243 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4339,6 +4339,34 @@ components:
from the other indexes
type: string
type: object
CSMAgentsMetadata:
description: Metadata related to the paginated response.
properties:
page_index:
description: The index of the current page in the paginated results.
example: 0
format: int64
type: integer
page_size:
description: The number of items per page in the paginated results.
example: 10
format: int64
type: integer
total_filtered:
description: Total number of items that match the filter criteria.
example: 128697
format: int64
type: integer
type: object
CSMAgentsType:
default: datadog_agent
description: The type of the resource. The value should always be `datadog_agent`.
enum:
- datadog_agent
example: datadog_agent
type: string
x-enum-varnames:
- DATADOG_AGENT
CalculatedField:
description: Calculated field.
properties:
Expand Down Expand Up @@ -6630,6 +6658,95 @@ components:
nullable: true
type: string
type: object
CsmAgentData:
description: Single Agent Data.
properties:
attributes:
$ref: '#/components/schemas/CsmAgentsAttributes'
id:
description: The ID of the Agent.
example: fffffc5505f6a006fdf7cf5aae053653
type: string
type:
$ref: '#/components/schemas/CSMAgentsType'
type: object
CsmAgentsAttributes:
description: A CSM Agent returned by the API.
properties:
agent_version:
description: Version of the Datadog Agent.
type: string
aws_fargate:
description: AWS Fargate details.
type: string
cluster_name:
description: List of cluster names associated with the Agent.
items:
type: string
type: array
datadog_agent:
description: Unique identifier for the Datadog Agent.
type: string
ecs_fargate_task_arn:
description: ARN of the ECS Fargate task.
type: string
envs:
description: List of environments associated with the Agent.
items:
type: string
type: array
host_id:
description: ID of the host.
format: int64
type: integer
hostname:
description: Name of the host.
type: string
install_method_installer_version:
description: Version of the installer used for installing the Datadog Agent.
type: string
install_method_tool:
description: Tool used for installing the Datadog Agent.
type: string
is_csm_vm_containers_enabled:
description: Indicates if CSM VM Containers is enabled.
nullable: true
type: boolean
is_csm_vm_hosts_enabled:
description: Indicates if CSM VM Hosts is enabled.
nullable: true
type: boolean
is_cspm_enabled:
description: Indicates if CSPM is enabled.
nullable: true
type: boolean
is_cws_enabled:
description: Indicates if CWS is enabled.
nullable: true
type: boolean
is_cws_remote_configuration_enabled:
description: Indicates if CWS Remote Configuration is enabled.
nullable: true
type: boolean
is_remote_configuration_enabled:
description: Indicates if Remote Configuration is enabled.
nullable: true
type: boolean
os:
description: Operating system of the host.
type: string
type: object
CsmAgentsResponse:
description: Response object that includes a list of CSM Agents.
properties:
data:
description: A list of Agents.
items:
$ref: '#/components/schemas/CsmAgentData'
type: array
meta:
$ref: '#/components/schemas/CSMAgentsMetadata'
type: object
CustomCostGetResponseMeta:
description: Meta for the response from the Get Custom Costs endpoints.
properties:
Expand Down Expand Up @@ -17704,6 +17821,16 @@ components:
required:
- data
type: object
OrderDirection:
description: The sort direction for results.
enum:
- asc
- desc
example: asc
type: string
x-enum-varnames:
- ASC
- DESC
OrgConfigGetResponse:
description: A response with a single Org Config.
properties:
Expand Down Expand Up @@ -30922,6 +31049,113 @@ paths:
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/csm/onboarding/agents:
get:
description: Get the list of all CSM Agents running on your hosts and containers.
operationId: ListAllCSMAgents
parameters:
- description: The page index for pagination (zero-based).
in: query
name: page
required: false
schema:
example: 2
format: int32
maximum: 1000000
minimum: 0
type: integer
- description: The number of items to include in a single page.
in: query
name: size
required: false
schema:
example: 12
format: int32
maximum: 100
minimum: 0
type: integer
- description: A search query string to filter results (for example, `hostname:COMP-T2H4J27423`).
in: query
name: query
required: false
schema:
example: hostname:COMP-T2H4J27423
type: string
- description: The sort direction for results. Use `asc` for ascending or `desc`
for descending.
in: query
name: order_direction
required: false
schema:
$ref: '#/components/schemas/OrderDirection'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CsmAgentsResponse'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Get all CSM Agents
tags:
- CSM Agents
/api/v2/csm/onboarding/serverless/agents:
get:
description: Get the list of all CSM Serverless Agents running on your hosts
and containers.
operationId: ListAllCSMServerlessAgents
parameters:
- description: The page index for pagination (zero-based).
in: query
name: page
required: false
schema:
example: 2
format: int32
maximum: 1000000
minimum: 0
type: integer
- description: The number of items to include in a single page.
in: query
name: size
required: false
schema:
example: 12
format: int32
maximum: 100
minimum: 0
type: integer
- description: A search query string to filter results (for example, `hostname:COMP-T2H4J27423`).
in: query
name: query
required: false
schema:
example: hostname:COMP-T2H4J27423
type: string
- description: The sort direction for results. Use `asc` for ascending or `desc`
for descending.
in: query
name: order_direction
required: false
schema:
$ref: '#/components/schemas/OrderDirection'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CsmAgentsResponse'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Get all CSM Serverless Agents
tags:
- CSM Agents
/api/v2/current_user/application_keys:
get:
description: List all application keys available for current user
Expand Down Expand Up @@ -44626,6 +44860,15 @@ tags:
[Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more
information.
name: CI Visibility Tests
- description: 'Datadog Cloud Security Management (CSM) delivers real-time threat
detection

and continuous configuration audits across your entire cloud infrastructure,

all in a unified view for seamless collaboration and faster remediation.

Go to https://docs.datadoghq.com/security/cloud_security_management to learn more'
name: CSM Agents
- description: Cloud Security Management Threats (CSM Threats) monitors file, network,
and process activity across your environment to detect real-time threats to your
infrastructure. See [Cloud Security Management Threats](https://docs.datadoghq.com/security/threats/)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2024-12-13T17:22:57.344Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"log": {
"_recordingName": "CSM Agents/Get all CSM Agents returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "cf844fd90c62518336473aebfc1fbf5e",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
}
],
"headersSize": 518,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/csm/onboarding/agents"
},
"response": {
"bodySize": 5745,
"content": {
"mimeType": "application/vnd.api+json",
"size": 5745,
"text": "{\"data\":[{\"id\":\"f3087801a44eba3c2ea706e873aee9e4\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-vane-3512666\"],\"host_id\":29630727754,\"hostname\":\"datadog-cluster-agent-0-af63a3e6-4a25-4def-83a4-8754d185b3ef\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"d66d3bc7b9d4273183431b501ef33d86\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-vane-3512666\"],\"host_id\":29623236313,\"hostname\":\"database-0-e7b70a7b-4199-4920-a8e3-62f221819522\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"c8eca433902d29dd748f93e413eb2a9d\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-farm-3522782\"],\"host_id\":29722803807,\"hostname\":\"router-0-1bf8fdd0-bbc2-4cf3-8c7c-c1605bafa9bd\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"c6009fcea425da0722eeefd58d95ae6e\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-vane-3512666\"],\"host_id\":29623808723,\"hostname\":\"compute-0-abf8a42e-5338-44e5-8048-658415893f3c\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"b5684ca6ace0e5eb757124a1bce8ad13\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-nook-3513764\"],\"host_id\":29671027855,\"hostname\":\"database-0-805a7570-d3cf-4acc-97d8-c40ac88df896\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"b2432c7f30596064f765d9f2b400299e\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-vane-3512666\"],\"host_id\":29623289233,\"hostname\":\"blobstore-0-2d6429ae-61a4-4d6d-a1be-1e6c20711d62\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"b18cbc65f97d10e2db319de9664e8136\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-vane-3512666\"],\"host_id\":29623905136,\"hostname\":\"router-0-f84247ea-89db-459f-8db9-e19faaf118b9\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"a99fccb5f6f726754282ea7ff84269c3\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.62.0-devel+git.319.c819811\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":null,\"host_id\":15240413136,\"hostname\":\"comp-xctp773fw9\",\"install_method_installer_version\":\"docker\",\"install_method_tool\":\"docker\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"a57d21e013a51ea0a3881ad7d4f1d7d1\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-vane-3512666\"],\"host_id\":29630585934,\"hostname\":\"datadog-firehose-nozzle-0-d3f355d3-2839-441d-884b-9e7ee6c248a6\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}},{\"id\":\"a43d2a3241ca97359058507a36800089\",\"type\":\"datadog_agent\",\"attributes\":{\"agent_version\":\"7.59.1\",\"aws_fargate\":\"\",\"cluster_name\":[\"\"],\"ecs_fargate_task_arn\":\"\",\"envs\":[\"pcf-nook-3513764\"],\"host_id\":29700921282,\"hostname\":\"datadog-firehose-nozzle-0-451fe766-caa2-4fb7-9198-076d2e1ef872\",\"install_method_installer_version\":\"\",\"install_method_tool\":\"undefined\",\"is_csm_vm_containers_enabled\":false,\"is_csm_vm_hosts_enabled\":false,\"is_cspm_enabled\":false,\"is_cws_enabled\":false,\"is_cws_remote_configuration_enabled\":true,\"is_remote_configuration_enabled\":true,\"os\":\"GNU/Linux\"}}],\"meta\":{\"total_filtered\":24,\"page_index\":0,\"page_size\":10}}"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/vnd.api+json"
}
],
"headersSize": 532,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-12-13T17:22:57.553Z",
"time": 211
}
],
"pages": [],
"version": "1.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2024-12-13T17:22:57.772Z"
Loading

0 comments on commit ba8591f

Please sign in to comment.